@@ -30,13 +30,6 @@
<h2>Properties</h2>
<p>See the base [page:Object3D] class for common properties.</p>
- <h3>[property:Boolean isCamera]</h3>
- <p>
- Used to check whether this or derived classes are cameras. Default is *true*.<br /><br />
-
- You should not change this, as it used internally by the renderer for optimisation.
- </p>
<h3>[property:Layers layers]</h3>
<p>
The [page:Layers layers] that the camera is a member of. This is an inherited
@@ -71,13 +71,6 @@ scene.add( camera );</code>
The valid range is between the current value of the [page:.near near] plane and infinity.
</p>
- <h3>[property:Boolean isOrthographicCamera]</h3>
- Used to test whether this or derived classes are OrthographicCameras. Default is *true*.<br /><br />
- This should not be changed as it is used internally by the renderer for optimisation.
<h3>[property:Float left]</h3>
<p>Camera frustum left plane.</p>
@@ -77,13 +77,6 @@ scene.add( camera );</code>
<h3>[property:Float fov]</h3>
<p>Camera frustum vertical field of view, from bottom to top of view, in degrees. Default is *50*.</p>
- <h3>[property:Boolean isPerspectiveCamera]</h3>
- Used to test whether this or derived classes are PerspectiveCameras. Default is *true*.<br /><br />
<h3>[property:Float near]</h3>
@@ -58,13 +58,6 @@
then this will count the number of such vectors stored.
- <h3>[property:Boolean isBufferAttribute]</h3>
- Used to check whether this or derived classes are BufferAttributes. Default is *true*.<br /><br />
- You should not change this, as it used internally for optimisation.
<h3>[property:Integer itemSize]</h3>
<p>The length of vectors that are being stored in the [page:BufferAttribute.array array].</p>
@@ -132,13 +132,6 @@
Default is *null*.
- <h3>[property:Boolean isBufferGeometry]</h3>
- Used to check whether this or derived classes are BufferGeometries. Default is *true*.<br /><br />
<h3>[property:Object morphAttributes]</h3>
Hashmap of [page:BufferAttribute]s holding details of the geometry's [page:Geometry.morphTargets morphTargets].
@@ -98,13 +98,6 @@
<h3>[property:Integer id]</h3>
<p>Unique number for this geometry instance.</p>
- <h3>[property:Boolean isGeometry]</h3>
- Used to check whether this or derived classes are Geometries. Default is *true*.<br /><br />
<h3>[property:array lineDistances]</h3>
An array containing distances between vertices for Line geometries.
@@ -29,11 +29,6 @@
Default is *1*.
- <h3>[property:Boolean isInstancedBufferAttribute]</h3>
- Default is *true*.
<h2>Methods</h2>
<p>See [page:BufferAttribute] for inherited methods.</p>
Default is *undefined*.
- <h3>[property:Boolean isInstancedBufferGeometry]</h3>
@@ -31,11 +31,6 @@
- <h3>[property:Boolean isInstancedInterleavedBuffer]</h3>
See [page:InterleavedBuffer] for inherited methods.
@@ -64,11 +64,6 @@
A version number, incremented every time the needsUpdate property is set to true.
- <h3>[property:Boolean isInterleavedBuffer]</h3>
<h3>[property:Boolean needsUpdate]</h3>
Default is *false*. Setting this to true increments [page:InterleavedBuffer.version version].
@@ -55,11 +55,6 @@
Default is *false*.
- <h3>[property:Boolean isInterleavedBufferAttribute]</h3>
<h3>[method:this applyMatrix4]( [param:Matrix4 m] )</h3>
<p>readonly – Unique number for this object instance.</p>
- <h3>[property:Boolean isObject3D]</h3>
- Used to check whether this or derived classes are Object3Ds. Default is *true*.<br /><br />
- You should not change this, as it is used internally for optimisation.
The layer membership of the object. The object is only visible if it has at least one
@@ -37,13 +37,6 @@
<h3>[property:array data]</h3>
<p>The JSON data passed in the constructor.</p>
- <h3>[property:Boolean isFont]</h3>
- Used to check whether this or derived classes are fonts. Default is *true*.<br /><br />
<h3>[method:null generateShapes]( [param:String text], [param:Float size] )</h3>
@@ -17,13 +17,6 @@
<p>See the [page:EllipseCurve] class for common properties.</p>
- <h3>[property:Boolean isArcCurve]</h3>
- Used to check whether this or derived classes are ArcCurves. Default is *true*.<br /><br />
<h2>Source</h2>
@@ -53,13 +53,6 @@ var curveObject = new THREE.Line( geometry, material );
<p>See the base [page:Curve] class for common properties.</p>
- <h3>[property:Boolean isCatmullRomCurve3]</h3>
- Used to check whether this or derived classes are CatmullRomCurve3s. Default is *true*.<br /><br />
<h3>[property:Array points]</h3>
<p>The array of [page:Vector3] points that define the curve. It needs at least two entries.</p>
@@ -51,13 +51,6 @@ var curveObject = new THREE.Line( geometry, material );
- <h3>[property:Boolean isCubicBezierCurve]</h3>
- Used to check whether this or derived classes are CubicBezierCurves. Default is *true*.<br /><br />
<h3>[property:Vector2 v0]</h3>
<p>The starting point.</p>
@@ -52,13 +52,6 @@ var curveObject = new THREE.Line( geometry, material );
- <h3>[property:Boolean isCubicBezierCurve3]</h3>
- Used to check whether this or derived classes are CubicBezierCurve3s. Default is *true*.<br /><br />
@@ -55,13 +55,6 @@ var ellipse = new THREE.Line( geometry, material );
- <h3>[property:Boolean isEllipseCurve]</h3>
- Used to check whether this or derived classes are EllipseCurves. Default is *true*.<br /><br />
<h3>[property:Float aX]</h3>
<p>The X center of the ellipse.</p>
@@ -27,13 +27,6 @@
- <h3>[property:Boolean isLineCurve]</h3>
- Used to check whether this or derived classes are LineCurves. Default is *true*.<br /><br />
<h3>[property:Vector2 v1]</h3>
<p>The start point.</p>
- <h3>[property:Boolean isLineCurve3]</h3>
- Used to check whether this or derived classes are LineCurve3s. Default is *true*.<br /><br />
<h3>[property:Vector3 v1]</h3>
@@ -50,14 +50,6 @@ var curveObject = new THREE.Line( geometry, material );
- <h3>[property:Boolean isQuadraticBezierCurve]</h3>
- Used to check whether this or derived classes are QuadraticBezierCurves. Default is *true*.<br /><br />
<p>The startpoint.</p>
- <h3>[property:Boolean isQuadraticBezierCurve3]</h3>
- Used to check whether this or derived classes are QuadraticBezierCurve3s. Default is *true*.<br /><br />
<h3>[property:Vector3 v0]</h3>
@@ -48,13 +48,6 @@ var splineObject = new THREE.Line( geometry, material );
- <h3>[property:Boolean isSplineCurve]</h3>
- Used to check whether this or derived classes are SplineCurves. Default is *true*.<br /><br />
<p>The array of [page:Vector2] points that define the curve.</p>
@@ -49,15 +49,6 @@ scene.add( light );</code>
- <h3>[property:Boolean isAmbientLight]</h3>
- Used to check whether this or derived classes are ambient lights. Default is *true*.<br /><br />
See the base [page:Light Light] class for common methods.
@@ -76,14 +76,6 @@
The default is *false*.
- <h3>[property:Boolean isDirectionalLight]</h3>
- Used to check whether this or derived classes are directional lights. Default is *true*.<br /><br />
<h3>[property:Vector3 position]</h3>
This is set equal to [page:Object3D.DefaultUp] (0, 1, 0), so that the light shines from the top down.
@@ -68,13 +68,6 @@ scene.add( light );
Default is a new [page:Color] set to white (0xffffff).
- <h3>[property:Boolean isHemisphereLight]</h3>
- Used to check whether this or derived classes are hemisphere lights. Default is *true*.<br /><br />
@@ -47,13 +47,6 @@
Default - *1.0*.
- <h3>[property:Boolean isLight]</h3>
- Used to check whether this or derived classes are lights. Default is *true*.<br /><br />
@@ -80,13 +80,6 @@ scene.add( light );
Default is *0.0*.
- <h3>[property:Boolean isPointLight]</h3>
- Used to check whether this or derived classes are point lights. Default is *true*.<br /><br />
<h3>[property:Float power]</h3>
The light's power.<br />
@@ -65,13 +65,6 @@ rectLight.add( rectLightHelper );
See the base [page:Light Light] class for common properties.
- <h3>[property:Boolean isRectAreaLight]</h3>
- Used to check whether this or derived classes are RectAreaLights. Default is *true*.<br /><br />
@@ -123,13 +123,6 @@
- <h3>[property:Boolean isSpotLight]</h3>
- Used to check whether this or derived classes are spot lights. Default is *true*.<br /><br />
<h3>[property:Float penumbra]</h3>
Percent of the spotlight cone that is attenuated due to penumbra. Takes values between
@@ -79,13 +79,6 @@ scene.add( helper );
- <h3>[property:Boolean isSpotLightShadow]</h3>
- Used to check whether this or derived classes are spot light shadows. Default is *true*.<br /><br />
See the base [page:LightShadow LightShadow] class for common methods.
@@ -60,13 +60,6 @@ var material = new THREE.LineBasicMaterial( {
<h3>[property:Color color]</h3>
<p>[page:Color] of the material, by default set to white (0xffffff).</p>
- <h3>[property:Boolean isLineBasicMaterial]</h3>
- Used to check whether this or derived classes are line basic materials. Default is *true*.<br /><br />
<h3>[property:Float linewidth]</h3>
Controls line thickness. Default is *1*.<br /><br />
@@ -55,13 +55,6 @@ var material = new THREE.LineDashedMaterial( {
<h3>[property:number gapSize]</h3>
<p>The size of the gap. Default is *1*.</p>
- <h3>[property:Boolean isLineDashedMaterial]</h3>
- Used to check whether this or derived classes are line dashed materials. Default is *true*.<br /><br />
@@ -174,13 +174,6 @@
<p>Unique number for this material instance.</p>
- <h3>[property:Boolean isMaterial]</h3>
- Used to check whether this or derived classes are materials. Default is *true*.<br /><br />
<h3>[property:String name]</h3>
<p>Optional name of the object (doesn't need to be unique). Default is an empty string.</p>
@@ -81,13 +81,6 @@
blend between the two colors.
- <h3>[property:Boolean isMeshBasicMaterial]</h3>
- Used to check whether this or derived classes are mesh basic materials. Default is *true*.<br /><br />
<h3>[property:TextureCube envMap]</h3>
<p>The environment map. Default is null.</p>
@@ -82,13 +82,6 @@
<h3>[property:Boolean fog]</h3>
<p>Whether the material is affected by fog. Default is *false*.</p>
- <h3>[property:Boolean isMeshDepthMaterial]</h3>
- Used to check whether this or derived classes are mesh depth materials. Default is *true*.<br /><br />
<h3>[property:Texture map]</h3>
<p>The color map. Default is null.</p>
@@ -91,13 +91,6 @@
- <h3>[property:Boolean isMeshDistanceMaterial]</h3>
@@ -111,13 +111,6 @@
- <h3>[property:Boolean isMeshLambertMaterial]</h3>
- Used to check whether this or derived classes are mesh Lambert materials. Default is *true*.<br /><br />
<h3>[property:Texture lightMap]</h3>
<p>The light map. Default is null. The lightMap requires a second set of UVs.</p>
@@ -96,13 +96,6 @@
Without a displacement map set, this value is not applied. Default is 0.
- <h3>[property:Boolean isMeshMatcapMaterial]</h3>
- Used to check whether this or derived classes are mesh Matcap materials. Default is *true*.<br /><br />
<p>The color map. Default is null. The texture map color is modulated by the diffuse [page:.color].</p>
@@ -79,13 +79,6 @@
- <h3>[property:Boolean isMeshNormalMaterial]</h3>
- Used to check whether this or derived classes are mesh normal materials. Default is *true*.<br /><br />
<h3>[property:boolean morphNormals]</h3>
Defines whether the material uses morphNormals. Set as true to pass morphNormal
@@ -143,13 +143,6 @@
- <h3>[property:Boolean isMeshPhongMaterial]</h3>
- Used to check whether this or derived classes are mesh Phong materials. Default is *true*.<br /><br />
@@ -63,13 +63,6 @@
<h3>[property:Float clearcoatRoughness]</h3>
<p>How rough the clearcoat appears, from *0.0* to *1.0*. Default is *0.0*.</p>
- <h3>[property:Boolean isMeshPhysicalMaterial]</h3>
- Used to check whether this or derived classes are mesh physical materials. Default is *true*.<br /><br />
<h3>[property:Object defines]</h3>
<p>An object of the form:
<code>
@@ -181,13 +181,6 @@
<h3>[property:Float envMapIntensity]</h3>
<p>Scales the effect of the environment map by multiplying its color.</p>
- <h3>[property:Boolean isMeshStandardMaterial]</h3>
- Used to check whether this or derived classes are mesh standard materials. Default is *true*.<br /><br />
@@ -121,13 +121,6 @@
<h3>[property:Float emissiveIntensity]</h3>
<p>Intensity of the emissive light. Modulates the emissive color. Default is 1.</p>
- <h3>[property:Boolean isMeshToonMaterial]</h3>
- Used to check whether this or derived classes are [name]. Default is *true*.<br /><br />
<h3>[property:Texture gradientMap]</h3>
<p>Gradient map for toon shading. It's required to set [page:Texture.minFilter] and [page:Texture.magFilter] to
[page:Textures THREE.NearestFilter] when using this type of texture. Default is *null*.</p>
@@ -79,13 +79,6 @@ scene.add( starField );
- <h3>[property:Boolean isPointsMaterial]</h3>
- Used to check whether this or derived classes are points materials. Default is *true*.<br /><br />
<p>Sets the color of the points using data from a [page:Texture].</p>
@@ -52,13 +52,6 @@ var material = new THREE.RawShaderMaterial( {
<p>See the base [page:Material] and [page:ShaderMaterial] classes for common properties.</p>
- <h3>[property:Boolean isRawShaderMaterial]</h3>
- Used to check whether this or derived classes are raw shader materials. Default is *true*.<br /><br />
<p>See the base [page:Material] and [page:ShaderMaterial] classes for common methods.</p>
@@ -352,13 +352,6 @@ this.extensions = {
- <h3>[property:Boolean isShaderMaterial]</h3>
- Used to check whether this or derived classes are shader materials. Default is *true*.<br /><br />
<h3>[property:Boolean lights]</h3>
Defines whether this material uses lighting; true to pass uniform data related to lighting to this shader. Default is false.
@@ -44,13 +44,6 @@ scene.add( plane );
- <h3>[property:Boolean isShadowMaterial]</h3>
- Used to check whether this or derived classes are shadow materials. Default is *true*.<br /><br />
<h3>[property:Boolean transparent]</h3>
<p>Defines whether this material is transparent. Default is *true*.</p>
@@ -53,13 +53,6 @@
- <h3>[property:Boolean isBox3]</h3>
- Used to check whether this or derived classes are Box3s. Default is *true*.<br /><br />
<h3>[property:Vector3 min]</h3>
[page:Vector3] representing the lower (x, y, z) boundary of the box.<br />
@@ -75,13 +75,6 @@ var color = new THREE.Color( 1, 0, 0 );
- <h3>[property:Boolean isColor]</h3>
- Used to check whether this or derived classes are Colors. Default is *true*.<br /><br />
<h3>[property:Float r]</h3>
Red channel value between 0 and 1. Default is 1.
@@ -41,13 +41,6 @@
- <h3>[property:Boolean isEuler]</h3>
- Used to check whether this or derived classes are Eulers. Default is *true*.<br /><br />
<h3>[property:String order]</h3>
The order in which to apply rotations. Default is 'XYZ', which means that the object will first be
@@ -61,13 +61,6 @@ m.elements = [ 11, 21, 31,
list of matrix values.
- <h3>[property:Boolean isMatrix3]</h3>
- Used to check whether this or derived classes are Matrix3s. Default is *true*.<br /><br />
@@ -96,13 +96,6 @@ m.elements = [ 11, 21, 31, 41,
- <h3>[property:Boolean isMatrix4]</h3>
- Used to check whether this or derived classes are Matrix4s. Default is *true*.<br /><br />
@@ -44,13 +44,6 @@
- <h3>[property:Boolean isQuaternion]</h3>
- Used to check whether this or derived classes are Quaternions. Default is *true*.<br /><br />
<h3>[property:Float x]</h3>
<h3>[property:Float y]</h3>
@@ -62,13 +62,6 @@
- <h3>[property:Boolean isVector2]</h3>
- Used to check whether this or derived classes are Vector2s. Default is *true*.<br /><br />
<h3>[property:Float height]</h3>
<p>Alias for [page:.y y].</p>
@@ -63,13 +63,6 @@ var d = a.distanceTo( b );
- <h3>[property:Boolean isVector3]</h3>
- Used to check whether this or derived classes are Vector3s. Default is *true*.<br /><br />
@@ -63,13 +63,6 @@ var d = a.dot( b );
- <h3>[property:Boolean isVector4]</h3>
- Used to check whether this or derived classes are Vector4s. Default is *true*.<br /><br />
- <h3>[property:Boolean isBone]</h3>
- Used to check whether this or derived classes are bones. Default is *true*.<br /><br />
<h3>[property:String type]</h3>
<p>Set to 'Bone', this can be used to find all Bones in a scene.</p>
@@ -56,13 +56,6 @@
- <h3>[property:Boolean isLine]</h3>
- Used to check whether this or derived classes are lines. Default is *true*.<br /><br />
<h3>[property:Geometry geometry]</h3>
<p>Vertices representing the line segment(s).</p>
<p>See the base [page:Line] class for common properties.</p>
- <h3>[property:Boolean isLineLoop]</h3>
- Used to check whether this or derived classes are line loops. Default is *true*.<br /><br />
<p>See the base [page:Line] class for common methods.</p>
@@ -36,13 +36,6 @@
- <h3>[property:Boolean isLineSegments]</h3>
- Used to check whether this or derived classes are line segments. Default is *true*.<br /><br />
- <h3>[property:Boolean isMesh]</h3>
- Used to check whether this or derived classes are meshes. Default is *true*.<br /><br />
An instance of [page:Geometry] or [page:BufferGeometry] (or derived classes),
Its recommended to always use a [page:BufferGeometry] if possible for best performance.
- <h3>[property:Boolean isPoints]</h3>
- Used to check whether this or derived classes are points. Default is *true*.<br /><br />
<h3>[property:Material material]</h3>
An instance of [page:Material], defining the object's appearance.
@@ -119,13 +119,6 @@
The base matrix that is used for resetting the bound bone transforms.
- <h3>[property:Boolean isSkinnedMesh]</h3>
- Used to check whether this or derived classes are skinned meshes. Default is *true*.<br /><br />
<h3>[property:Skeleton skeleton]</h3>
[page:Skeleton] representing the bone hierarchy of the skinned mesh.
@@ -42,13 +42,6 @@ scene.add( sprite );
- <h3>[property:Boolean isSprite]</h3>
- Used to check whether this or derived classes are sprites. Default is *true*.<br /><br />
<h3>[property:SpriteMaterial material]</h3>
@@ -55,13 +55,6 @@
as long as video is playing - the [page:VideoTexture VideoTexture] class handles this automatically.
- <h3>[property:Boolean isTexture]</h3>
- Used to check whether this or derived classes are Textures. Default is *true*.<br /><br />
<h3>[property:array mipmaps]</h3>
Array of user-specified mipmaps (optional).
@@ -33,15 +33,6 @@
<p>共有属性请参见其基类[page:Object3D]</p>
- 用于来检查这个类或者派生的类是否为摄像机,默认为*true*。
- <br /><br />
- 你不应当对这个属性进行改变,因为它在内部由渲染器使用,以用于优化。
@@ -77,12 +77,6 @@ scene.add( camera );</code>
- 用于测试这个类或者派生类是否为OrthographicCameras,默认为*true*。<br /><br />
- 你不应当对这个属性进行改变,因为它在内部由渲染器使用,以用于优化。
<p>摄像机视锥体左侧面。</p>
@@ -77,15 +77,6 @@ scene.add( camera );</code>
<p>摄像机视锥体垂直视野角度,从视图的底部到顶部,以角度来表示。默认值是*50*。</p>
- 用于测试这个类或者派生类是否为PerspectiveCameras,默认为true。
@@ -52,13 +52,6 @@
若缓存存储三元组(例如顶点位置、法向量、颜色值),则该值应等于队列中三元组的个数。
- 指示当前类或派生类是 BufferAttributes. 默认值为 *true*.<br /><br />
- 开发者不应当改变该值,该值用于内部实现优化。
<p>保存在 [page:BufferAttribute.array array] 中矢量的长度。</p>
@@ -125,13 +125,6 @@
默认值是 *null*。
- 用于检查当前类或派生类的类型是 BufferGeometries。默认值是 *true*。<br /><br />
- 该值用于内部优化,你不应该手动修改该值。
存储 [page:BufferAttribute] 的 Hashmap,存储了几何体 [page:Geometry.morphTargets morphTargets] 的细节信息。
<p>当前 geometry 实例的唯一标识符的数。</p>
- 用于判断当前类或派生类属于 Geometries。默认值是 *true*。<br /><br />
- 你不应该改变该值,该值用于内部优化。
用于保存线型几何体中每个顶点间距离的。在正确渲染 [page:LineDashedMaterial] 时,需要用到该数据。
默认值为 *1*。
- 默认值为 *true*.
<h2>方法</h2>
<p>继承方法详见 [page:BufferAttribute]。</p>
默认值是 *undefined*。
- 默认值是 *true*。
默认值是 *1*。
继承方法详见 [page:InterleavedBuffer]。
@@ -54,11 +54,6 @@
默认值为 *false*。
- 默认值为 *true*。
<h3>[method:Number getX]( [param:Integer index] ) </h3>
<p>只读 —— 表示该对象实例ID的唯一数字。</p>
- 用于测试这个类或者派生类是否为Object3D,默认为*true*。<br /><br />
- 你不应当对这个属性进行改变,因为它在内部使用,以用于优化。
物体的层级关系。
@@ -38,14 +38,6 @@
<p>传入到构造函数的JSON数据。</p>
- 用于检查该类或者其派生类是否为字体。默认值为*true*。
- 你不应当对这一属性进行改变,它在内部由渲染器所使用,以用于优化。
<h2>属性</h2>
<p>共有属性请参见其基类[page:EllipseCurve]。</p>
- 用于检查该类或者其派生类是否为ArcCurves(弧线)。默认值为*true*。<br /><br />
- 你不应当对这一属性进行改变,它在内部使用,以用于优化。
<h2>源代码</h2>
@@ -54,13 +54,6 @@ var curveObject = new THREE.Line( geometry, material );
<p>共有属性请参见其基类[page:Curve]。</p>
- 用于检查该类或者其派生类是否为CatmullRomCurve3。默认值为*true*。<br /><br />
<p>定义了这一曲线的[page:Vector3]点数组,数组中至少需要两个点。</p>
@@ -51,14 +51,6 @@ var curveObject = new THREE.Line( geometry, material );
- 用于检查该类或者其派生类是否为CubicBezierCurves。默认值为*true*。<br /><br />
<p>起点</p>
- 用于检查该类或者其派生类是否为CubicBezierCurves3。默认值为*true*。<br /><br />
- 用于检查该类或者其派生类是否为EllipseCurves。默认值为*true*。
- 你不应当更改这个属性,它在内部使用,以用于优化。
<p>椭圆的中心的X坐标。</p>
@@ -27,14 +27,6 @@
- 用于检查该类或者其派生类是否为LineCurves。默认值为*true*。
- 用于检查该类或者其派生类是否为QuadraticBezierCurve。默认值为*true*。<br /><br />
- 用于检查该类或者其派生类是否为QuadraticBezierCurve3。默认值为*true*。<br /><br />
@@ -47,13 +47,6 @@ var splineObject = new THREE.Line( geometry, material );
- 用于检查该类或者其派生类是否为样条曲线。默认值为*true*。<br /><br />
<p>定义这一曲线的[page:Vector2]点的数组。</p>
@@ -49,14 +49,6 @@ scene.add( light );</code>
- 用来校验这个类或者派生类是不是环境光.默认是 *true*。<br /><br />
- 不应该去改变这个变量,因为内部使用这个变量做了些优化的工作。
@@ -71,13 +71,6 @@
查看 [page:DirectionalLightShadow] 了解详细信息。该属性默认为 *false*。
- 用来校验这个类或者派生类是不是平行光.默认是 *true*。<br /><br />
默认会创建 [page:Color] 并设置为白色(0xffffff)。
- 用来校验这个类或者派生类是不是半球光。缺省值为 *true*。<br /><br />
假如这个值设置等于 [page:Object3D.DefaultUp] (0, 1, 0),那么光线将会从上往下照射。
<br />
- 用来校验这个类或者派生类是不是平行光。默认是 *true*。<br /><br />
- 不应该去改变这个变量,因为内部使用这个变量做了些优化的工作。
@@ -70,13 +70,6 @@ scene.add( light );
缺省值为 *0.0*。
- 用来校验这个类或者派生类是不是点光源。默认是 *true*。<br /><br />
光功率<br />
@@ -64,13 +64,6 @@ scene.add( rectLightHelper );
公共属性请查看基类[page:Light Light]。
- 用来校验这个类或者它的派生类是不是平面光光源。缺省值是 *true*。<br /><br />
<h2>方法(Methods)</h2>
公共方法请查看基类 [page:Light Light]。
@@ -108,13 +108,6 @@
- 用来校验这个类或者它的派生类是不是聚光灯光源。缺省值是 *true*。<br /><br />
聚光锥的半影衰减百分比。在0和1之间的值。
@@ -69,13 +69,6 @@ scene.add( helper );
- 用于检查此类或派生类是否为聚光灯阴影。默认为true。<br /><br />
- 您不应该更改它,因为它在内部用于优化。
有关常用方法,请参阅基础LightShadow类。
<h3>[method:SpotLightShadow update]( [param:SpotLight light] )</h3>
@@ -58,11 +58,6 @@ var material = new THREE.LineBasicMaterial( {
<p>材质的颜色([page:Color]),默认值为白色 (0xffffff)。</p>
- <p>用于检查此类或派生类是否为基础线条材质。默认值为 *true*。<br /><br />
- 因为其通常用在内部优化,所以不应该更改该属性值。
<p> 控制线宽。默认值为 *1*。<br /><br />
由于[link:https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf OpenGL Core Profile]与
@@ -52,12 +52,6 @@ var material = new THREE.LineDashedMaterial( {
<p>间隙的大小,默认值为 *1*。</p>
- <p>用于检查此类或派生类是否为虚线材质。默认值为 *true*。<br /><br />
控制线宽。默认值为 *1*。<br /><br />
@@ -153,12 +153,6 @@ Which stencil operation to perform when the comparison function returns true and
<p>此材质实例的唯一编号。</p>
-<h3>[property:Boolean isMaterial]</h3>
-<p>用于检查此类或派生类是否为材质。默认值为 *true*。<br/><br/>
-</p>
<p>对象的可选名称(不必是唯一的)。默认值为空字符串。</p>
@@ -71,12 +71,6 @@
[page:Materials THREE.AddOperation]。如果选择多个,则使用[page:.reflectivity]在两种颜色之间进行混合。
- <p>用于检查此类或派生类是否为网格基础材质。默认值为 *true*。<br /><br />
<p>环境贴图。默认值为null。</p>