未验证 提交 8d18e687 编写于 作者: Y ycw 提交者: GitHub

+ prop `is*` (#23565)

上级 7807d995
......@@ -41,6 +41,11 @@
<h2>الخصائص (Properties)</h2>
<h3>[property:Boolean isAnimationObjectGroup]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Object stats]</h3>
<p>
......
......@@ -36,6 +36,11 @@
مجموعة من الكاميرات.
</p>
<h3>[property:Boolean isArrayCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>الوظائف (Methods)</h2>
<p>راجع الفئة الأساسية [page:PerspectiveCamera] للتعرف على الطرق الشائعة.</p>
......
......@@ -29,6 +29,11 @@
<h2>الخصائص (Properties)</h2>
<p>راجع الفئة [page:Object3D] الأساسية للممتلكات العامة.</p>
<h3>[property:Boolean isCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Layers layers]</h3>
<p>
ال [page:Layers layers] التي تعد الكاميرا عضو فيها. هذه ملكية موروثة من [page:Object3D].<br /><br />
......
......@@ -43,6 +43,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isAnimationObjectGroup]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Object stats]</h3>
<p>
......
......@@ -36,6 +36,11 @@
An array of cameras.
</p>
<h3>[property:Boolean isArrayCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>See the base [page:PerspectiveCamera] class for common methods.</p>
......
......@@ -29,6 +29,11 @@
<h2>Properties</h2>
<p>See the base [page:Object3D] class for common properties.</p>
<h3>[property:Boolean isCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Layers layers]</h3>
<p>
The [page:Layers layers] that the camera is a member of. This is an inherited
......
......@@ -74,6 +74,11 @@
Must be greater than the current value of [page:.near near] plane.
</p>
<h3>[property:Boolean isOrthographicCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float left]</h3>
<p>Camera frustum left plane.</p>
......
......@@ -80,6 +80,11 @@
<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>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float near]</h3>
<p>
......
......@@ -57,6 +57,11 @@
then this will count the number of such vectors stored.
</p>
<h3>[property:Boolean isBufferAttribute]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Integer itemSize]</h3>
<p>The length of vectors that are being stored in the [page:BufferAttribute.array array].</p>
......
......@@ -129,6 +129,11 @@
Default is *null*.
</p>
<h3>[property:Boolean isBufferGeometry]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Object morphAttributes]</h3>
<p>
Hashmap of [page:BufferAttribute]s holding details of the geometry's morph targets.
......
......@@ -28,6 +28,11 @@
Default is *Infinity*.
</p>
<h3>[property:Boolean isInstancedBufferGeometry]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>See [page:BufferGeometry] for inherited methods.</p>
......
......@@ -39,6 +39,11 @@
then this will count the number of such items stored.
</p>
<h3>[property:Boolean isInterleavedBufferAttribute]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Integer itemSize]</h3>
<p>
How many values make up each item.
......
......@@ -57,6 +57,11 @@
<h3>[property:Integer id]</h3>
<p>readonly – Unique number for this object instance.</p>
<h3>[property:Boolean isObject3D]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Layers layers]</h3>
<p>
The layer membership of the object. The object is only visible if it has at least one
......
......@@ -47,6 +47,11 @@
The list of bones that the helper renders as [page:Line Lines].
</p>
<h3>[property:Boolean isSkeletonHelper]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Object3D root]</h3>
<p>
The object passed in the constructor.
......
......@@ -44,6 +44,11 @@
See the base [page:Light Light] class for common properties.
</p>
<h3>[property:Boolean isAmbientLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>
......
......@@ -31,6 +31,11 @@
See the base [page:LightProbe LightProbe] class for common properties.
</p>
<h3>[property:Boolean isAmbientLightProbe]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>
See the base [page:LightProbe LightProbe] class for common methods.
......
......@@ -74,6 +74,11 @@
The default is *false*.
</p>
<h3>[property:Boolean isDirectionalLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Vector3 position]</h3>
<p>
This is set equal to [page:Object3D.DefaultUp] (0, 1, 0), so that the light shines from the top down.
......
......@@ -62,6 +62,11 @@
Default is a new [page:Color] set to white (0xffffff).
</p>
<h3>[property:Boolean isHemisphereLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Vector3 position]</h3>
<p>
This is set equal to [page:Object3D.DefaultUp] (0, 1, 0), so that the light shines from the top down.
......
......@@ -32,6 +32,11 @@
See the base [page:LightProbe LightProbe] class for common properties.
</p>
<h3>[property:Boolean isHemisphereLightProbe]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>
See the base [page:LightProbe LightProbe] class for common methods.
......
......@@ -45,6 +45,11 @@
Default - *1.0*.
</p>
<h3>[property:Boolean isLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>
......
......@@ -51,6 +51,11 @@
not evaluated and thus has no effect.
</p>
<h3>[property:Boolean isLightProbe]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:SphericalHarmonics3 sh]</h3>
<p>
A light probe uses spherical harmonics to encode lighting information.
......
......@@ -77,6 +77,11 @@ rectLight.add( rectLightHelper );
</p>
<h3>[property:Boolean isRectAreaLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float power]</h3>
<p>
The light's power.<br />
......
......@@ -113,6 +113,11 @@
</p>
<h3>[property:Boolean isSpotLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float penumbra]</h3>
<p>
Percent of the spotlight cone that is attenuated due to penumbra. Takes values between
......
......@@ -72,6 +72,11 @@
<h2>Properties</h2>
<p>See the base [page:Loader] class for common properties.</p>
<h3>[property:Boolean isImageBitmapLoader]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:String options]</h3>
<p>An optional object that sets options for the internally used [link:https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap createImageBitmap] factory method. Default is *undefined*.</p>
......
......@@ -50,6 +50,11 @@
<h3>[property:number gapSize]</h3>
<p>The size of the gap. Default is *1*.</p>
<h3>[property:Boolean isLineDashedMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:number scale]</h3>
<p>The scale of the dashed part of a line. Default is *1*.</p>
......
......@@ -128,6 +128,11 @@
When drawing 2D overlays it can be useful to disable the depth writing in order to layer several things together without creating z-index artifacts.
</p>
<h3>[property:Boolean isMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Boolean stencilWrite]</h3>
<p>
Whether stencil operations are performed against the stencil buffer. In order to perform writes or comparisons against the stencil buffer this value must be *true*. Default is *false*.
......
......@@ -177,6 +177,11 @@
Define whether the material is rendered with flat shading. Default is false.
</p>
<h3>[property:Boolean isMeshStandardMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Texture lightMap]</h3>
<p>The light map. Default is null. The lightMap requires a second set of UVs.</p>
......
......@@ -351,6 +351,11 @@ this.extensions = {
</p>
<h3>[property:Boolean isShaderMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Boolean lights]</h3>
<p>
Defines whether this material uses lighting; true to pass uniform data related to lighting to this shader. Default is false.
......
......@@ -62,6 +62,11 @@
<h3>[property:Color color]</h3>
<p>[page:Color] of the material, by default set to white (0xffffff). The [page:.map] is multiplied by the color.</p>
<h3>[property:Boolean isSpriteMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Texture map]</h3>
<p>The texture map. Default is null.</p>
......
......@@ -49,6 +49,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isBox3]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Vector3 min]</h3>
<p>
[page:Vector3] representing the lower (x, y, z) boundary of the box.<br />
......
......@@ -74,6 +74,11 @@ const color7 = new THREE.Color( 1, 0, 0 );
<h2>Properties</h2>
<h3>[property:Boolean isColor]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float r]</h3>
<p>
Red channel value between 0 and 1. Default is 1.
......
......@@ -40,6 +40,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isEuler]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:String order]</h3>
<p>
The order in which to apply rotations. Default is 'XYZ', which means that the object will first be
......
......@@ -27,6 +27,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isPlane]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Vector3 normal]</h3>
<h3>[property:Float constant]</h3>
......
......@@ -39,6 +39,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isQuaternion]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float x]</h3>
<h3>[property:Float y]</h3>
......
......@@ -22,6 +22,11 @@
<h3>[property:Array coefficients]</h3>
<p>An array holding the (9) SH coefficients. A single coefficient is represented as an instance of [page:Vector3].</p>
<h3>[property:Boolean isSphericalHarmonics3]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<h3>[method:this add]( [param:SphericalHarmonics3 sh] )</h3>
......
......@@ -68,6 +68,11 @@
<h3>[property:Float height]</h3>
<p>Alias for [page:.y y].</p>
<h3>[property:Boolean isVector2]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float width]</h3>
<p>Alias for [page:.x x].</p>
......
......@@ -66,6 +66,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isVector3]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float x]</h3>
<h3>[property:Float y]</h3>
......
......@@ -65,6 +65,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isVector4]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float x]</h3>
<h3>[property:Float y]</h3>
......
......@@ -36,6 +36,11 @@
<h2>Properties</h2>
<p>See the base [page:Object3D] class for common properties.</p>
<h3>[property:Boolean isBone]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:String type]</h3>
<p>Set to 'Bone', this can be used to find all Bones in a scene.</p>
......
......@@ -45,6 +45,11 @@
<h2>Properties</h2>
<p>See the base [page:Object3D] class for common properties.</p>
<h3>[property:Boolean isGroup]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:String type]</h3>
<p>A string 'Group'. This should not be changed.</p>
......
......@@ -60,6 +60,11 @@
You have to set its [page:BufferAttribute.needsUpdate needsUpdate] flag to true if you modify instanced data via [page:.setMatrixAt]().
</p>
<h3>[property:Boolean isInstancedMesh]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>See the base [page:Mesh] class for common methods.</p>
......
......@@ -61,6 +61,11 @@
Default is true.
</p>
<h3>[property:Boolean isLOD]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Array levels]</h3>
<p>
An array of [page:Object level] objects<br /><br />
......
......@@ -56,6 +56,11 @@
<h3>[property:BufferGeometry geometry]</h3>
<p>Vertices representing the line segment(s).</p>
<h3>[property:Boolean isLine]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Material material]</h3>
<p>Material for the line.</p>
......
......@@ -33,6 +33,11 @@
<h2>Properties</h2>
<p>See the base [page:Line] class for common properties.</p>
<h3>[property:Boolean isLineLoop]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>See the base [page:Line] class for common methods.</p>
......
......@@ -32,6 +32,11 @@
<h2>Properties</h2>
<p>See the base [page:Line] class for common properties.</p>
<h3>[property:Boolean isLineSegments]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>See the base [page:Line] class for common methods.</p>
......
......@@ -42,6 +42,11 @@
An instance of [page:BufferGeometry] (or derived classes), defining the object's structure.
</p>
<h3>[property:Boolean isMesh]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Material material]</h3>
<p>
An instance of material derived from the [page:Material] base class or an array of materials, defining the
......
......@@ -35,6 +35,11 @@
An instance of [page:BufferGeometry] (or derived classes), defining the object's structure.
</p>
<h3>[property:Boolean isPoints]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Material material]</h3>
<p>
An instance of [page:Material], defining the object's appearance.
......
......@@ -114,6 +114,11 @@
The base matrix that is used for resetting the bound bone transforms.
</p>
<h3>[property:Boolean isSkinnedMesh]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Skeleton skeleton]</h3>
<p>
[page:Skeleton] representing the bone hierarchy of the skinned mesh.
......
......@@ -41,6 +41,11 @@
<h2>Properties</h2>
<p>See the base [page:Object3D] class for common properties.</p>
<h3>[property:Boolean isSprite]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:SpriteMaterial material]</h3>
<p>
......
......@@ -34,6 +34,11 @@
<h2>Properties</h2>
<p>See the base [page:WebGLRenderer] class for common properties.</p>
<h3>[property:Boolean isWebGL1Renderer]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>See the base [page:WebGLRenderer] class for common methods.</p>
......
......@@ -43,6 +43,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isWebGLMultipleRenderTargets]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Array texture]</h3>
<p>
The texture property is overwritten in [name] and replaced with an array. This array holds the [page:WebGLRenderTarget.texture texture]
......
......@@ -48,6 +48,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isWebGLRenderTarget]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:number width]</h3>
<p>
The width of the render target.
......
......@@ -20,6 +20,11 @@
<h2>Properties</h2>
<h3>[property:Boolean isFog]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:String name]</h3>
<p>Optional name of the object (doesn't need to be unique). Default is an empty string.</p>
......
......@@ -20,6 +20,11 @@
<p>The color parameter is passed to the [page:Color] constructor to set the color property. Color can be a hexadecimal integer or a CSS-style string.</p>
<h2>Properties</h2>
<h3>[property:Boolean isFogExp2]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:String name]</h3>
<p>Optional name of the object (doesn't need to be unique). Default is an empty string.</p>
......
......@@ -46,6 +46,11 @@
<p>A [page:Fog fog] instance defining the type of fog that affects everything rendered in the scene. Default is null.</p>
<h3>[property:Boolean isScene]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Material overrideMaterial]</h3>
<p>If not null, it will force everything in the scene to be rendered with that material. Default is null.</p>
......
......@@ -56,6 +56,11 @@
See the base [page:Texture Texture] class for common properties.
</p>
<h3>[property:Boolean isCanvasTexture]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Boolean needsUpdate]</h3>
<p>
......
......@@ -75,6 +75,11 @@
False by default. Mipmaps can't be generated for compressed textures
</p>
<h3>[property:Boolean isCompressedTexture]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
......
......@@ -51,6 +51,11 @@
If set to *true*, the texture is flipped along the vertical axis when uploaded to the GPU. Default is *false*.
</p>
<h3>[property:Boolean isCubeTexture]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>
......
......@@ -85,6 +85,11 @@
Overridden with a record type holding data, width and height.
</p>
<h3>[property:Boolean isDataTexture]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:number unpackAlignment]</h3>
<p>
1 by default. Specifies the alignment requirements for the start of each pixel row in memory.
......
......@@ -100,6 +100,11 @@
Depth textures do not use mipmaps.
</p>
<h3>[property:Boolean isDepthTexture]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>
......
......@@ -31,6 +31,11 @@
<p>See the base [page:Texture Texture] class for common properties.</p>
<h3>[property:Boolean isFramebufferTexture]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Boolean needsUpdate]</h3>
<p>
......
......@@ -38,6 +38,11 @@
Readonly - unique number for this texture instance.
</p>
<h3>[property:Boolean isTexture]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:String uuid]</h3>
<p>
[link:http://en.wikipedia.org/wiki/Universally_unique_identifier UUID] of this object instance.
......
......@@ -72,6 +72,11 @@
Whether to generate mipmaps. False by default.
</p>
<h3>[property:Boolean isVideoTexture]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Boolean needsUpdate]</h3>
<p>
You will not need to set this manually here as it is handled by the [page:VideoTexture.update update] method.
......
......@@ -44,6 +44,11 @@
<h2>프로퍼티</h2>
<h3>[property:Boolean isAnimationObjectGroup]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Object stats]</h3>
<p>
......
......@@ -37,6 +37,11 @@
카메라 배열.
</p>
<h3>[property:Boolean isArrayCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>메서드</h2>
<p>일반 메서드는 기본 [page:PerspectiveCamera]를 참고하세요.</p>
......
......@@ -29,6 +29,11 @@
<h2>프로퍼티</h2>
<p>일반 프로퍼티는 기본 [page:Object3D] 클래스를 참고하세요.</p>
<h3>[property:Boolean isCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Layers layers]</h3>
<p>
카메라가 속해있는 [page:Layers layers]. 이는 [page:Object3D]에서 상속된 것입니다.<br /><br />
......
......@@ -72,6 +72,11 @@
[page:.near near](근평면)의 현재 값보다 항상 더 커야합니다.
</p>
<h3>[property:Boolean isOrthographicCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float left]</h3>
<p>카메라 절두체 좌평면.</p>
......
......@@ -80,6 +80,11 @@
<h3>[property:Float fov]</h3>
<p>카메라 아래부터 위까지, 도 단위로 표시되는 수직 시야입니다. 기본값은 *50*입니다.</p>
<h3>[property:Boolean isPerspectiveCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float near]</h3>
<p>
......
......@@ -53,6 +53,11 @@
저장된 벡터들의 수를 계산합니다.
</p>
<h3>[property:Boolean isBufferAttribute]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Integer itemSize]</h3>
<p>[page:BufferAttribute.array array]에 저장되는 벡터의 길이.</p>
......
......@@ -127,6 +127,11 @@
기본값은 *null* 입니다.
</p>
<h3>[property:Boolean isBufferGeometry]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Object morphAttributes]</h3>
<p>
[page:BufferAttribute]의 해쉬맵은 기하학의 모프 타겟에 대한 세부정보를 담고 있습니다.
......
......@@ -28,6 +28,11 @@
기본값은 *Infinity*입니다.
</p>
<h3>[property:Boolean isInstancedBufferGeometry]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>메서드</h2>
<p>상속 메서드는 [page:BufferGeometry] 를 참고하세요.</p>
......
......@@ -39,6 +39,11 @@
저장된 항목들의 수를 카운팅합니다.
</p>
<h3>[property:Boolean isInterleavedBufferAttribute]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Integer itemSize]</h3>
<p>
각 항목을 구성하는 값의 수입니다.
......
......@@ -58,6 +58,11 @@
<h3>[property:Integer id]</h3>
<p>읽기전용 – 이 객체 인스턴스의 고유 번호입니다.</p>
<h3>[property:Boolean isObject3D]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Layers layers]</h3>
<p>
객체의 레이어 멤버 속성입니다. 객체는 사용중인 [page:Camera] 에 공통적으로 최소 한 개의 레이어가 있을 때만 볼 수 있습니다.
......
......@@ -41,6 +41,11 @@
<h2>属性</h2>
<h3>[property:Boolean isAnimationObjectGroup]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Object stats]</h3>
<p>
......
......@@ -37,6 +37,11 @@
摄像机数组。
</p>
<h3>[property:Boolean isArrayCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>方法</h2>
<p>共有方法请参见其基类[page:PerspectiveCamera]。</p>
......
......@@ -32,6 +32,11 @@
<p>共有属性请参见其基类[page:Object3D]</p>
<h3>[property:Boolean isCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Layers layers]</h3>
<p>
......
......@@ -77,6 +77,11 @@
</p>
<h3>[property:Boolean isOrthographicCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float left]</h3>
<p>摄像机视锥体左侧面。</p>
......
......@@ -80,6 +80,11 @@
<h3>[property:Float fov]</h3>
<p>摄像机视锥体垂直视野角度,从视图的底部到顶部,以角度来表示。默认值是*50*。</p>
<h3>[property:Boolean isPerspectiveCamera]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float near]</h3>
<p>
......
......@@ -51,6 +51,11 @@
若缓存存储三元组(例如顶点位置、法向量、颜色值),则该值应等于队列中三元组的个数。
</p>
<h3>[property:Boolean isBufferAttribute]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Integer itemSize]</h3>
<p>保存在 [page:BufferAttribute.array array] 中矢量的长度。</p>
......
......@@ -123,6 +123,11 @@
默认值是 *null*。
</p>
<h3>[property:Boolean isBufferGeometry]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Object morphAttributes]</h3>
<p>
存储 [page:BufferAttribute] 的 Hashmap,存储了几何体 morph targets 的细节信息。
......
......@@ -28,6 +28,11 @@
默认值是 *Infinity*。
</p>
<h3>[property:Boolean isInstancedBufferGeometry]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>方法</h2>
<p>继承方法详见 [page:BufferGeometry]。</p>
......
......@@ -38,6 +38,11 @@
所缓存的矢量的个数。如果缓存的矢量是一个三元组(例如,位置、法向量或颜色),则该值计算上述三元组的个数。
</p>
<h3>[property:Boolean isInterleavedBufferAttribute]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Integer itemSize]</h3>
<p>
队列中每个矢量有多少个元素构成。
......
......@@ -55,6 +55,11 @@
<h3>[property:Integer id]</h3>
<p>只读 —— 表示该对象实例ID的唯一数字。</p>
<h3>[property:Boolean isObject3D]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Layers layers]</h3>
<p>
物体的层级关系。
......
......@@ -48,6 +48,11 @@
辅助对象使用 [page:Line Lines] 渲染的骨数组.
</p>
<h3>[property:Boolean isSkeletonHelper]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Object3D root]</h3>
<p>
构造函数传入的对象.
......
......@@ -49,6 +49,11 @@
这个参数在对象构造的时候就被设置成了 *undefined* 。因为环境光不能投射阴影。
</p>
<h3>[property:Boolean isAmbientLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>方法</h2>
......
......@@ -31,6 +31,11 @@
See the base [page:LightProbe LightProbe] class for common properties.
</p>
<h3>[property:Boolean isAmbientLightProbe]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>方法</h2>
<p>
See the base [page:LightProbe LightProbe] class for common methods.
......
......@@ -69,6 +69,11 @@
查看 [page:DirectionalLightShadow] 了解详细信息。该属性默认为 *false*。
</p>
<h3>[property:Boolean isDirectionalLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Vector3 position]</h3>
<p>
......
......@@ -68,6 +68,11 @@
默认会创建 [page:Color] 并设置为白色(0xffffff)。
</p>
<h3>[property:Boolean isHemisphereLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Vector3 position]</h3>
<p>
假如这个值设置等于 [page:Object3D.DefaultUp] (0, 1, 0),那么光线将会从上往下照射。
......
......@@ -32,6 +32,11 @@
See the base [page:LightProbe LightProbe] class for common properties.
</p>
<h3>[property:Boolean isHemisphereLightProbe]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>方法</h2>
<p>
See the base [page:LightProbe LightProbe] class for common methods.
......
......@@ -46,6 +46,11 @@
<br />
</p>
<h3>[property:Boolean isLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>Methods</h2>
<p>
......
......@@ -51,6 +51,11 @@
[page:Light.color color] 属性当前未做评估,因此不生效。
</p>
<h3>[property:Boolean isLightProbe]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:SphericalHarmonics3 sh]</h3>
<p>
光照探针使用球面谐波(spherical harmonic)来编码光照信息。
......
......@@ -61,6 +61,11 @@
公共属性请查看基类[page:Light Light]。
</p>
<h3>[property:Boolean isRectAreaLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h2>方法(Methods)</h2>
<p>
公共方法请查看基类 [page:Light Light]。
......
......@@ -88,6 +88,11 @@
缺省值为 *0.0*。
</p>
<h3>[property:Boolean isSpotLight]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Float penumbra]</h3>
<p>
聚光锥的半影衰减百分比。在0和1之间的值。
......
......@@ -69,6 +69,11 @@
<h2>属性</h2>
<p>共有属性请参见其基类[page:Loader]。</p>
<h3>[property:Boolean isImageBitmapLoader]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:String options]</h3>
<p>一个可选对象,用来设置内部使用的[link:https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap createImageBitmap]工厂方法,
......
......@@ -48,6 +48,11 @@
<h3>[property:number gapSize]</h3>
<p>间隙的大小,默认值为 *1*。</p>
<h3>[property:Boolean isLineDashedMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:number scale]</h3>
<p>线条中虚线部分的占比。默认值为 *1*。</p>
......
......@@ -107,6 +107,11 @@ Default is *false*.
在绘制2D叠加时,将多个事物分层在一起而不创建z-index时,禁用深度写入会很有用。
</p>
<h3>[property:Boolean isMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Boolean stencilWrite]</h3>
<p>
Whether stencil operations are performed against the stencil buffer. In order to perform writes or comparisons against the stencil buffer this value must be *true*. Default is *false*.
......
......@@ -144,6 +144,11 @@
<p> 定义材质是否使用平面着色进行渲染。默认值为false。
</p>
<h3>[property:Boolean isMeshStandardMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Texture lightMap]</h3>
<p>光照贴图。默认值为null。lightMap需要第二组UV。</p>
......
......@@ -313,6 +313,11 @@ this.extensions = {
</p>
<h3>[property:Boolean isShaderMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Boolean lights]</h3>
<p> 材质是否受到光照的影响。默认值为 *false*。如果传递与光照相关的uniform数据到这个材质,则为true。默认是false。
</p>
......
......@@ -60,6 +60,11 @@
<h3>[property:Color color]</h3>
<p>材质的颜色([page:Color]),默认值为白色 (0xffffff)。 [page:.map]会和 color 相乘。</p>
<h3>[property:Boolean isSpriteMaterial]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Texture map]</h3>
<p>颜色贴图。默认为null。</p>
......
......@@ -49,6 +49,11 @@
<h2>属性(Properties)</h2>
<h3>[property:Boolean isBox3]</h3>
<p>
Read-only flag to check whether a given object is of type [name].
</p>
<h3>[property:Vector3 min]</h3>
<p>
[page:Vector3] 表示包围盒的下边界。<br />
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册