|
|
@@ -1677,8 +1677,8 @@ const InterpolationSamplingMode = {
|
|
|
* @property {string} NORMAL - Normal sampling mode.
|
|
|
* @property {string} CENTROID - Centroid sampling mode.
|
|
|
* @property {string} SAMPLE - Sample-specific sampling mode.
|
|
|
- * @property {string} FLAT_FIRST - Flat interpolation using the first vertex.
|
|
|
- * @property {string} FLAT_EITHER - Flat interpolation using either vertex.
|
|
|
+ * @property {string} FIRST - Flat interpolation using the first vertex.
|
|
|
+ * @property {string} EITHER - Flat interpolation using either vertex.
|
|
|
*/
|
|
|
|
|
|
/**
|
|
|
@@ -18897,7 +18897,7 @@ class BufferGeometry extends EventDispatcher {
|
|
|
/**
|
|
|
* Bounding box for the geometry which can be calculated with `computeBoundingBox()`.
|
|
|
*
|
|
|
- * @type {Box3}
|
|
|
+ * @type {?Box3}
|
|
|
* @default null
|
|
|
*/
|
|
|
this.boundingBox = null;
|
|
|
@@ -18905,7 +18905,7 @@ class BufferGeometry extends EventDispatcher {
|
|
|
/**
|
|
|
* Bounding sphere for the geometry which can be calculated with `computeBoundingSphere()`.
|
|
|
*
|
|
|
- * @type {Sphere}
|
|
|
+ * @type {?Sphere}
|
|
|
* @default null
|
|
|
*/
|
|
|
this.boundingSphere = null;
|
|
|
@@ -24554,7 +24554,7 @@ class LOD extends Object3D {
|
|
|
* the given distance.
|
|
|
*
|
|
|
* @param {number} distance - The LOD distance.
|
|
|
- * @return {Object3D|null} The found 3D object. `null` if no 3D object has been found.
|
|
|
+ * @return {?Object3D} The found 3D object. `null` if no 3D object has been found.
|
|
|
*/
|
|
|
getObjectForDistance( distance ) {
|
|
|
|
|
|
@@ -27833,7 +27833,7 @@ class BatchedMesh extends Mesh {
|
|
|
*
|
|
|
* @param {number} geometryId - The ID of the geometry to return the bounding box for.
|
|
|
* @param {Box3} target - The target object that is used to store the method's result.
|
|
|
- * @return {Box3|null} The geometry's bounding box. Returns `null` if no geometry has been found for the given ID.
|
|
|
+ * @return {?Box3} The geometry's bounding box. Returns `null` if no geometry has been found for the given ID.
|
|
|
*/
|
|
|
getBoundingBoxAt( geometryId, target ) {
|
|
|
|
|
|
@@ -27878,7 +27878,7 @@ class BatchedMesh extends Mesh {
|
|
|
*
|
|
|
* @param {number} geometryId - The ID of the geometry to return the bounding sphere for.
|
|
|
* @param {Sphere} target - The target object that is used to store the method's result.
|
|
|
- * @return {Sphere|null} The geometry's bounding sphere. Returns `null` if no geometry has been found for the given ID.
|
|
|
+ * @return {?Sphere} The geometry's bounding sphere. Returns `null` if no geometry has been found for the given ID.
|
|
|
*/
|
|
|
getBoundingSphereAt( geometryId, target ) {
|
|
|
|
|
|
@@ -40364,7 +40364,7 @@ class MeshDepthMaterial extends Material {
|
|
|
* Can also be used to customize the shadow casting of an object by assigning
|
|
|
* an instance of `MeshDistanceMaterial` to {@link Object3D#customDistanceMaterial}.
|
|
|
* The following examples demonstrates this approach in order to ensure
|
|
|
- * transparent parts of objects do no cast shadows.
|
|
|
+ * transparent parts of objects do not cast shadows.
|
|
|
*
|
|
|
* @augments Material
|
|
|
*/
|