Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify and add Chinese translations #30475

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/zh/cameras/ArrayCamera.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h3>[property:Array cameras]</h3>

<h3>[property:Boolean isArrayCamera]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h2>方法</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/cameras/Camera.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2>属性</h2>

<h3>[property:Boolean isCamera]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Layers layers]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/cameras/OrthographicCamera.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h3>[property:Float far]</h3>

<h3>[property:Boolean isOrthographicCamera]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Float left]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/core/InstancedBufferGeometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h3>[property:Number instanceCount]</h3>

<h3>[property:Boolean isInstancedBufferGeometry]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h2>方法</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/core/InterleavedBufferAttribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h3>[property:Integer count]</h3>

<h3>[property:Boolean isInterleavedBufferAttribute]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Integer itemSize]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/lights/shadows/DirectionalLightShadow.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h3>[property:Camera camera]</h3>

<h3>[property:Boolean isDirectionalLightShadow]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h2>方法</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/lights/shadows/PointLightShadow.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h2>属性</h2>

<h3>[property:Boolean isPointLightShadow]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h2>方法</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/lights/shadows/SpotLightShadow.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h3>[property:Number focus]</h3>

<h3>[property:Boolean isSpotLightShadow]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h2>方法</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/loaders/ImageBitmapLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>属性</h2>

<h3>[property:Boolean isImageBitmapLoader]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>


Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/materials/LineBasicMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h3>[property:String linejoin]</h3>

<h3>[property:Texture map]</h3>
<p>
Sets the color of the lines using data from a [page:Texture].
[page:Texture]的颜色映射到线条上。
</p>

<h2>方法(Methods)</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ <h3>[method:undefined onBeforeCompile]( [param:Shader shader], [param:WebGLRende
和其他属性不一样的是,这个回调在[page:Material.clone .clone](),[page:Material.copy .copy]() 和 [page:Material.toJSON .toJSON]() 中不支持。
</p>
<p>
This callback is only supported in `WebGLRenderer` (not `WebGPURenderer`).
这个回调只支持在 `WebGLRenderer` (不支持 `WebGPURenderer`)
</p>
<p>
[example:webgl_materials_modified WebGL / materials / modified]<br />
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Box3.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2>属性(Properties)</h2>

<h3>[property:Boolean isBox3]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Vector3 min]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Color.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>属性(Properties)</h2>

<h3>[property:Boolean isColor]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Float r]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Euler.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2>属性(Properties)</h2>

<h3>[property:Boolean isEuler]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:String order]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Plane.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2>属性(Properties)</h2>

<h3>[property:Boolean isPlane]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Vector3 normal]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Quaternion.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h2>属性</h2>

<h3>[property:Boolean isQuaternion]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Float x]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Sphere.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h3>[property:Vector3 center]</h3>

<h3>[property:Boolean isSphere]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Float radius]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Vector2.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h3>[property:Float height]</h3>

<h3>[property:Boolean isVector2]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Float width]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Vector3.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h2>属性</h2>

<h3>[property:Boolean isVector3]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Float x]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/math/Vector4.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h2>属性</h2>

<h3>[property:Boolean isVector4]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Float x]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/Bone.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2>属性</h2>

<h3>[property:Boolean isBone]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>


Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/Group.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2>属性</h2>

<h3>[property:Boolean isGroup]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:String type]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/LOD.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h3>[property:Boolean autoUpdate]</h3>

<h3>[property:Boolean isLOD]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Array levels]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/Line.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h3>[property:BufferGeometry geometry]</h3>

<h3>[property:Boolean isLine]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Material material]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/LineLoop.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2>属性</h2>

<h3>[property:Boolean isLineLoop]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>


Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/LineSegments.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h2>属性</h2>

<h3>[property:Boolean isLineSegments]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>


Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/Mesh.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h3>[property:BufferGeometry geometry]</h3>

<h3>[property:Boolean isMesh]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Material material]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/Points.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h3>[property:BufferGeometry geometry]</h3>

<h3>[property:Boolean isPoints]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Material material]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/SkinnedMesh.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h3>[property:Sphere boundingSphere]</h3>

<h3>[property:Boolean isSkinnedMesh]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Skeleton skeleton]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/objects/Sprite.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h2>属性</h2>

<h3>[property:Boolean isSprite]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>


Expand Down
18 changes: 9 additions & 9 deletions docs/api/zh/renderers/WebGLRenderTarget.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2>属性</h2>

<h3>[property:Boolean isWebGLRenderTarget]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:number width]</h3>
Expand Down Expand Up @@ -86,8 +86,8 @@ <h3>[property:Texture texture]</h3>

<h3>[property:Texture textures]</h3>
<p>
An array holding the [page:WebGLRenderTarget.texture texture] references
of multiple render targets configured with the [page:Number count] option.
使用数组来存放[page:WebGLRenderTarget.texture texture] 的引用
来配置的多个渲染目标
</p>

<h3>[property:Boolean depthBuffer]</h3>
Expand All @@ -102,14 +102,14 @@ <h3>[property:Boolean stencilBuffer]</h3>

<h3>[property:Boolean resolveDepthBuffer]</h3>
<p>
Defines whether the depth buffer should be resolved when rendering into a multisampled render target.
默认为`true`.
</p>
设置在渲染到多采样渲染目标时是否解析深度缓冲区
默认为`true`.
</p>

<h3>[property:Boolean resolveStencilBuffer]</h3>
<p>
Defines whether the stencil buffer should be resolved when rendering into a multisampled render target.
This property has no effect when [page:.resolveDepthBuffer] is set to `false`.
设置在渲染到多采样渲染目标时是否解析模板缓冲区
这个属性在[page:.resolveDepthBuffer]设置为`false`时无效
默认为`true`.
</p>

Expand All @@ -120,7 +120,7 @@ <h3>[property:DepthTexture depthTexture]</h3>

<h3>[property:Number samples]</h3>
<p>
Defines the count of MSAA samples. Default is *0*.
设置渲染目标的MSAA采样值。默认是0.
</p>

<h2>方法</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/scenes/Fog.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h2>属性</h2>

<h3>[property:Boolean isFog]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:String name]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/scenes/FogExp2.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2>属性</h2>

<h3>[property:Boolean isFogExp2]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:String name]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/textures/CanvasTexture.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2>属性</h2>

<h3>[property:Boolean isCanvasTexture]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:Boolean needsUpdate]</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/textures/CompressedTexture.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h3>[property:Boolean generateMipmaps]</h3>

<h3>[property:Boolean isCompressedTexture]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>


Expand Down
8 changes: 4 additions & 4 deletions docs/api/zh/textures/CubeTexture.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ <h3>[name]( images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, a
<h2>属性</h2>

<p>
See the base [page:Texture Texture] class for common properties.
公共属性请参考[page:Texture Texture]类。
</p>

<h3>[property:Boolean flipY]</h3>
<p>
If set to *true*, the texture is flipped along the vertical axis when uploaded to the GPU. Default is *false*.
如果设置为 *true*,纹理在上传到GPU时会被垂直翻转。默认值为 *false*
</p>

<h3>[property:Boolean isCubeTexture]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h2>方法</h2>

<p>
See the base [page:Texture Texture] class for common methods.
公共方法请参考[page:Texture Texture]类。
</p>

<h2>源代码</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/textures/DataTexture.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h3>[property:Object image]</h3>

<h3>[property:Boolean isDataTexture]</h3>
<p>
Read-only flag to check if a given object is of type [name].
只读属性,用于检查给定对象是否为[name]类型。
</p>

<h3>[property:number unpackAlignment]</h3>
Expand Down
Loading