diff --git a/docs/api/zh/helpers/ArrowHelper.html b/docs/api/zh/helpers/ArrowHelper.html index 53534da5be8f3a6c69c8bbaad8d6373d68a6fc7e..bbb2b6f967360d24ec65b8abecd4e17cecf3cdce 100644 --- a/docs/api/zh/helpers/ArrowHelper.html +++ b/docs/api/zh/helpers/ArrowHelper.html @@ -1,5 +1,5 @@ - +
An 3D arrow object for visualizing directions.
+用于模拟方向的3维箭头对象.
-
- [page:Vector3 dir] -- direction from origin. Must be a unit vector.
- [page:Vector3 origin] -- Point at which the arrow starts.
- [page:Number length] -- length of the arrow. Default is *1*.
- [page:Number hex] -- hexadecimal value to define color. Default is 0xffff00.
- [page:Number headLength] -- The length of the head of the arrow. Default is 0.2 * length.
- [page:Number headWidth] -- The length of the width of the arrow. Default is 0.2 * headLength.
+ [page:Vector3 dir] -- 基于箭头原点的方向. 必须为单位向量.
+ [page:Vector3 origin] -- 箭头的原点.
+ [page:Number length] -- 箭头的长度. 默认为 *1*.
+ [page:Number hex] -- 定义的16进制颜色值. 默认为 0xffff00.
+ [page:Number headLength] -- 箭头头部(锥体)的长度. 默认为箭头长度的0.2倍(0.2 * length).
+ [page:Number headWidth] -- 箭头的宽度. 默认为箭头头部(锥体)长度的0.2倍(0.2 * headLength).
See the base [page:Object3D] class for common properties.
+请到基类 [page:Object3D] 页面查看公共属性.
Contains the line part of the arrowHelper.
+包含箭头辅助对象的线段部分.
Contains the cone part of the arrowHelper.
+包含箭头辅助对象的锥体部分.
-See the base [page:Object3D] class for common methods.
+请到基类 [page:Object3D] 页面查看公共方法.
- hex -- The hexadecimal value of the color.
+ hex -- 16进制颜色值.
- Sets the color of the arrowHelper.
+ 设置箭头辅助对象的颜色.
- length -- The desired length.
- headLength -- The length of the head of the arrow.
- headWidth -- The length of the width of the arrow.
+ length -- 要设置的长度.
+ headLength -- 要设置的箭头头部(锥体)的长度.
+ headWidth -- 要设置的箭头的宽度.
- Sets the length of the arrowhelper.
+ 设置箭头辅助对象的长度.
- dir -- The desired direction. Must be a unit vector.
+ dir -- 要设置的方向. 必须为单位向量.
- Sets the direction of the arrowhelper.
+ 设置箭头辅助对象的方向.
An axis object to visualize the 3 axes in a simple way.
- The X axis is red. The Y axis is green. The Z axis is blue.
用于简单模拟3个坐标轴的对象.
+ 红色代表 X 轴. 绿色代表 Y 轴. 蓝色代表 Z 轴.
- [page:Number size] -- (optional) size of the lines representing the axes. Default is *1*. + [page:Number size] -- (可选的) 表示代表轴的线段长度. 默认为 *1*.
-See the base [page:LineSegments] class for common properties.
+请到基类 [page:LineSegments] 页面查看公共属性.
-See the base [page:LineSegments] class for common methods.
+请到基类 [page:LineSegments] 页面查看公共方法.
-- Helper object to visualize a [page:Box3]. + 模拟3维包围盒 [page:Box3] 的辅助对象.
-
var box = new THREE.Box3();
@@ -28,36 +28,36 @@
-
- [page:Box3 box] -- the Box3 to show.
- [page:Color color] -- (optional) the box's color. Default is 0xffff00.
+ [page:Box3 box] -- 被模拟的3维包围盒.
+ [page:Color color] -- (可选的) 线框盒子的颜色. 默认为 0xffff00.
- Creates a new wireframe box that represents the passed Box3.
+ 创建一个新的线框盒子用以表示指定的3维包围盒.
See the base [page:LineSegments] class for common properties.
+请到基类 [page:LineSegments] 页面查看公共属性.
The Box3 being visualized.
+被模拟的3维包围盒.
-See the base [page:LineSegments] class for common methods.
+请到基类 [page:LineSegments] 页面查看公共方法.
- This overrides the method in the base [page:Object3D] class so that it - also updates the wireframe box to the extent of the [page:Box3Helper.box .box] - property. + 重写基类 [page:Object3D] 的该方法以便于 + 同时更新线框辅助对象与 [page:Box3Helper.box .box] + 属性保持一致.
-- Helper object to show the world-axis-aligned bounding box around an object. + 用于展示对象世界轴心对齐的包围盒的辅助对象. - Note that the object must have a [page:Geometry] or [page:BufferGeometry] for this to work, - so it won't work with [page:Sprite Sprites]. + 注意:要想能正常运行,目标对象必须包含 [page:Geometry] 或 [page:BufferGeometry] , + 所以当目标对象是精灵 [page:Sprite Sprites] 时将不能正常运行.
-
- [page:Object3D object] -- (optional) the object3D to show the world-axis-aligned boundingbox.
- [page:Color color] -- (optional) hexadecimal value that defines the box's color. Default is 0xffff00.
+ [page:Object3D object] -- (可选的) 被展示世界轴心对齐的包围盒的对象.
+ [page:Color color] -- (可选的) 线框盒子的16进制颜色值. 默认为 0xffff00.
- Creates a new wireframe box that bounds the passed object. Internally this uses [page:Box3.setFromObject]
- to calculate the dimensions. Note that this includes any children.
+ 创建一个新的线框盒子包围指定的对象. 内部使用 [page:Box3.setFromObject]
+ 方法来计算尺寸. 注意:此线框盒子将包围对象的所有子对象.
See the base [page:LineSegments] class for common properties.
+请到基类 [page:LineSegments] 页面查看公共属性.
-See the base [page:LineSegments] class for common methods.
+请到基类 [page:LineSegments] 页面查看公共方法.
- Updates the helper's geometry to match the dimensions - of the object, including any children. See [page:Box3.setFromObject]. + 更新辅助对象的几何体,与目标对象尺寸 + 保持一致, 包围目标对象所有子对象. 请查看 [page:Box3.setFromObject].
- [page:Object3D object] - [page:Object3D] to create the helper of.
+ [page:Object3D object] - 用于创建辅助对象的目标 [page:Object3D] 对象.
- Updates the wireframe box for the passed object.
+ 更新指定对象的线框盒子.
- This helps with visualizing what a camera contains in its frustum.
- It visualizes the frustum of a camera using a [page:LineSegments].
+ 用于模拟相机视锥体的辅助对象.
+ 它使用 [page:LineSegments] 来模拟相机视锥体.
- [page:Camera camera] -- The camera to visualize.
+ [page:Camera camera] -- 被模拟的相机.
- This create a new [Name] for the specified camera.
+ 为指定相机创建一个新的相机辅助对象 [Name] .
See the base [page:LineSegments] class for common properties.
+请到基类 [page:LineSegments] 页面查看公共属性.
The camera being visualized.
+被模拟的相机.
This contains the points used to visualize the camera.
+包含用于模拟相机的点.
Reference to the [page:Object3D.matrixWorld camera.matrixWorld].
+请参考相机的世界矩阵 [page:Object3D.matrixWorld camera.matrixWorld].
- See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the - camera's [page:Object3D.matrixWorld matrixWorld]. + 请查看 [page:Object3D.matrixAutoUpdate]. 这里设置为 *false* 表示辅助对象 + 使用相机的 [page:Object3D.matrixWorld matrixWorld].
-See the base [page:LineSegments] class for common methods.
+请到基类 [page:LineSegments] 页面查看公共方法.
Updates the helper based on the projectionMatrix of the camera.
+基于相机的投影矩阵更新辅助对象.
-- Helper object to assist with visualizing a [page:DirectionalLight]'s effect on the scene. + 用于模拟场景中平行光 [page:DirectionalLight] 的辅助对象. - This consists of plane and a line representing the light's position and direction. + 其中包含了表示光位置的平面和表示光方向的线段.
-
var light = new THREE.DirectionalLight( 0xFFFFFF );
@@ -29,56 +29,56 @@
-
- [page:DirectionalLight light]-- The light to be visualized.
+ [page:DirectionalLight light]-- 被模拟的光源.
- [page:Number size] -- (optional) dimensions of the plane. Default is *1*.
+ [page:Number size] -- (可选的) 平面的尺寸. 默认为 *1*.
- [page:Hex color] -- (optional) if this is not the set the helper will take the color of the light.
+ [page:Hex color] -- (可选的) 如果没有设置颜色将使用光源的颜色.
See the base [page:Object3D] class for common properties.
+请到基类 [page:Object3D] 页面查看公共属性.
Contains the line mesh showing the location of the directional light.
+包含表示平行光方向的线网格.
Reference to the [page:DirectionalLight directionalLight] being visualized.
+被模拟的光源. 请参考 [page:DirectionalLight directionalLight] .
Reference to the light's [page:Object3D.matrixWorld matrixWorld].
+请参考光源的世界矩阵 [page:Object3D.matrixWorld matrixWorld].
- See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the - light's [page:Object3D.matrixWorld matrixWorld]. + 请查看 [page:Object3D.matrixAutoUpdate] 页面. 这里设置为 *false* 表示辅助对象 + 使用光源的 [page:Object3D.matrixWorld matrixWorld].
- The color parameter passed in the constructor. Default is *undefined*. If this is changed, - the helper's color will update the next time [page:.update update] is called. + 构造函数中传入的颜色值. 默认为 *undefined*. 如果改变该值, + 辅助对象的颜色将在下一次 [page:.update update] 被调用时更新.
-See the base [page:Object3D] class for common properties.
+请到基类 [page:Object3D] 页面查看公共方法.
Dispose of the directionalLightHelper.
+销毁该平行光辅助对象.
Updates the helper to match the position and direction of the [page:.light directionalLight] being visualized.
+更新辅助对象,与模拟的 [page:.light directionalLight] 光源的位置和方向保持一致.
-
- Renders [page:ArrowHelper arrows] to visualize an object's [page:Face3 face] normals.
- Requires that face normals have been specified on all [page:Face3 faces] or calculated
- with [page:Geometry.computeFaceNormals computeFaceNormals].
+ 渲染箭头辅助对象 [page:ArrowHelper arrows] 来模拟面 [page:Face3 face] 的法线.
+ 需要所有面 [page:Face3 faces] 都指定了法线 或
+ 通过 [page:Geometry.computeFaceNormals computeFaceNormals] 方法计算面的法线.
- Note that this only works with the objects whose geometry is an instance of [page:Geometry].
- For [page:BufferGeometry] use a [page:VertexNormalsHelper] instead.
+ 注意:仅几何体为 [page:Geometry] 类型的对象能正常运行.
+ 对于 [page:BufferGeometry] 类型几何体的对象请使用 [page:VertexNormalsHelper] 代替.
-
- [page:Object3D object] -- object for which to render face normals.
- [page:Number size] -- (optional) length of the arrows. Default is *1*.
- [page:Hex color] -- (optional) hex color of the arrows. Default is *0xffff00*.
- [page:Number linewidth] -- (optional) width of the arrow lines. Default is *1*.
+ [page:Object3D object] -- 要渲染面法线辅助的对象.
+ [page:Number size] -- (可选的) 箭头的长度. 默认为 *1*.
+ [page:Hex color] -- (可选的) 箭头的颜色. 默认为 *0xffff00*.
+ [page:Number linewidth] -- (可选的) 箭头线段的宽度. 默认为 *1*.
See the base [page:LineSegments] class for common properties.
+请到基类 [page:LineSegments] 页面查看公共属性.
- See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the - objects's [page:Object3D.matrixWorld matrixWorld]. + 请查看 [page:Object3D.matrixAutoUpdate]. 这里设置为 *false* 表示辅助对象 + 使用对象的世界矩阵 [page:Object3D.matrixWorld matrixWorld].
The object for which the face normals are being visualized.
+被渲染面法线辅助的对象.
Length of the arrows. Default is *1*.
+箭头的长度. 默认为 *1*.
-See the base [page:LineSegments] class for common methods.
+请到基类 [page:LineSegments] 页面查看公共方法.
Updates the face normal preview based on movement of the object.
+基于对象的运动更新面法线辅助对象.
-The GridHelper is an object to define grids. Grids are two-dimensional arrays of lines.
+坐标格辅助对象. 坐标格实际上是2维线数组.
-var size = 10;
var divisions = 10;
@@ -26,20 +26,20 @@
[example:webgl_helpers Example using various helpers]
- Constructor
+ 构造函数
[name]( [param:number size], [param:Number divisions], [param:Color colorCenterLine], [param:Color colorGrid] )
- size -- The size of the grid. Default is 10.
- divisions -- The number of divisions across the grid. Default is 10.
- colorCenterLine -- The color of the centerline. This can be a [page:Color], a hexadecimal value and an CSS-Color name. Default is 0x444444
- colorGrid -- The color of the lines of the grid. This can be a [page:Color], a hexadecimal value and an CSS-Color name. Default is 0x888888
+ size -- 坐标格尺寸. 默认为 10.
+ divisions -- 坐标格细分次数. 默认为 10.
+ colorCenterLine -- 中线颜色. 值可以为 [page:Color] 类型, 16进制 和 CSS 颜色名. 默认为 0x444444
+ colorGrid -- 坐标格网格线颜色. 值可以为 [page:Color] 类型, 16进制 和 CSS 颜色名. 默认为 0x888888
- Creates a new [name] of size 'size' and divided into 'divisions' segments per side. Colors are optional.
+ 创建一个尺寸为 'size' 和 每个维度细分 'divisions' 次的坐标格. 颜色可选.
- Source
+ 源码
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
diff --git a/docs/api/zh/helpers/HemisphereLightHelper.html b/docs/api/zh/helpers/HemisphereLightHelper.html
index b0e2460935a7f7e0ed1d33749dd6bd5d3870f5d0..659c83edd41853e817e4679742fc7b3ec586a6df 100644
--- a/docs/api/zh/helpers/HemisphereLightHelper.html
+++ b/docs/api/zh/helpers/HemisphereLightHelper.html
@@ -1,5 +1,5 @@
-
+
@@ -13,10 +13,11 @@
[name]
- Creates a visual aid consisting of a spherical [page:Mesh] for a [page:HemisphereLight HemisphereLight].
+ 创建一个虚拟的球形网格 [page:Mesh] 的辅助对象来模拟
+ 半球形光源 [page:HemisphereLight HemisphereLight].
- Example
+ 例子
var light = new THREE.HemisphereLight( 0xffffbb, 0x080820, 1 );
@@ -27,51 +28,51 @@ scene.add( helper );
- Constructor
+ 构造函数
[name]( [param:HemisphereLight light], [param:Number sphereSize], [param:Hex color] )
- [page:HemisphereLight light] -- The light being visualized.
+ [page:HemisphereLight light] -- 被模拟的光源.
- [page:Number size] -- The size of the mesh used to visualize the light.
+ [page:Number size] -- 用于模拟光源的网格尺寸.
- [page:Hex color] -- (optional) if this is not the set the helper will take the color of the light.
+ [page:Hex color] -- (可选的) 如果没有赋值辅助对象将使用光源的颜色.
- Properties
- See the base [page:Object3D] class for common properties.
+ 属性
+ 请到基类 [page:Object3D] 页面查看公共属性.
[property:HemisphereLight light]
- Reference to the HemisphereLight being visualized.
+ 被模拟的半球形光源.
[property:object matrix]
- Reference to the hemisphereLight's [page:Object3D.matrixWorld matrixWorld].
+ 请参考半球形光源的世界矩阵 [page:Object3D.matrixWorld matrixWorld].
[property:object matrixAutoUpdate]
- See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the
- hemisphereLight's [page:Object3D.matrixWorld matrixWorld].
+ 请查看 [page:Object3D.matrixAutoUpdate]. 这里设置为 *false* 表示辅助对象
+ 使用半球形光源的 [page:Object3D.matrixWorld matrixWorld].
[property:hex color]
- The color parameter passed in the constructor. Default is *undefined*. If this is changed, the helper's color will update
- the next time [page:.update update] is called.
+ 构造函数中传入的颜色值. 默认为 *undefined*. 如果改变该值,
+ 辅助对象的颜色将在下一次 [page:.update update] 被调用时更新.
- Methods
- See the base [page:Object3D] class for common methods.
+ 方法
+ 请到基类 [page:Object3D] 页面查看公共方法.
[method:null dispose]()
- Dispose of the hemisphereLightHelper.
+ 销毁该半球形光源辅助对象.
[method:null update]()
- Updates the helper to match the position and direction of the [page:.light].
+ 更新辅助对象,与 [page:.light] 属性的位置和方向保持一致.
- Source
+ 源码
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
diff --git a/docs/api/zh/helpers/PlaneHelper.html b/docs/api/zh/helpers/PlaneHelper.html
index ef4325e84881f01cbb955f81a2d5a30a7baee1e6..5a0833d1f05d13c3f5d9334b0408b8b9dbf60ddd 100644
--- a/docs/api/zh/helpers/PlaneHelper.html
+++ b/docs/api/zh/helpers/PlaneHelper.html
@@ -1,5 +1,5 @@
-
+
@@ -13,11 +13,11 @@
[name]
- Helper object to visualize a [page:Plane].
+ 用于模拟平面 [page:Plane] 的辅助对象.
- Example
+ 例子
var plane = new THREE.Plane( new THREE.Vector3( 1, 1, 0.2 ), 3 );
@@ -26,39 +26,39 @@
- Constructor
+ 构造函数
[name]( [param:Plane plane], [param:Float size], [param:Color hex] )
- [page:Plane plane] -- the plane to visualize.
- [page:Float size] -- (optional) side length of plane helper. Default is 1.
- [page:Color color] -- (optional) the color of the helper. Default is 0xffff00.
+ [page:Plane plane] -- 被模拟的平面.
+ [page:Float size] -- (可选的) 辅助对象的单边长度. 默认为 1.
+ [page:Color color] -- (可选的) 辅助对象的颜色. 默认为 0xffff00.
- Creates a new wireframe representation of the passed plane.
+ 创建一个线框辅助对象来表示指定平面.
- Properties
- See the base [page:LineSegments] class for common properties.
+ 属性
+ 请到基类 [page:LineSegments] 页面查看公共属性.
[property:Plane plane]
- The [page:Plane plane] being visualized.
+ 被模拟的平面 [page:Plane plane] .
[property:Float size]
- The side lengths of plane helper.
+ 辅助对象的单边长度.
- Methods
- See the base [page:LineSegments] class for common methods.
+ 方法
+ 请到基类 [page:LineSegments] 页面查看公共方法.
[method:void updateMatrixWorld]( [param:Boolean force] )
- This overrides the method in the base [page:Object3D] class so that it also
- updates the helper object according to the [page:PlaneHelper.plane .plane] and
- [page:PlaneHelper.size .size] properties.
+ 重写基类 [page:Object3D] 的该方法以便于
+ 同时更新线框辅助对象与 [page:PlaneHelper.plane .plane] 和
+ [page:PlaneHelper.size .size] 属性保持一致.
- Source
+ 源码
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
diff --git a/docs/api/zh/helpers/PointLightHelper.html b/docs/api/zh/helpers/PointLightHelper.html
index 13c122f3506128555c746a470750aacc1314a837..28b3f00c15b9f1b0b636951b25876739a30b81d0 100644
--- a/docs/api/zh/helpers/PointLightHelper.html
+++ b/docs/api/zh/helpers/PointLightHelper.html
@@ -1,5 +1,5 @@
-
+
@@ -13,12 +13,12 @@
[name]
- This displays a helper object consisting of a spherical [page:Mesh] for visualizing
- a [page:PointLight].
+ 创建一个虚拟的球形网格 [page:Mesh] 的辅助对象来模拟
+ 点光源 [page:PointLight].
- Example
+ 例子
[example:webgl_helpers WebGL / helpers]
@@ -35,49 +35,49 @@
- Constructor
+ 构造函数
[name]( [param:PointLight light], [param:Float sphereSize], [param:Hex color] )
- [page:PointLight light] -- The light to be visualized.
+ [page:PointLight light] -- 要模拟的光源.
- [page:Float sphereSize] -- (optional) The size of the sphere helper. Default is *1*.
+ [page:Float sphereSize] -- (可选的) 球形辅助对象的尺寸. 默认为 *1*.
- [page:Hex color] -- (optional) if this is not the set the helper will take the color of the light.
+ [page:Hex color] -- (可选的) 如果没有赋值辅助对象将使用光源的颜色.
- Properties
- See the base [page:Mesh] class for common properties.
+ 属性
+ 请到基类 [page:Mesh] 页面查看公共属性.
[property:PointLight light]
- The [page:PointLight] that is being visualized.
+ 被模拟的点光源 [page:PointLight] .
[property:object matrix]
- Reference to the pointLight's [page:Object3D.matrixWorld matrixWorld].
+ 请参考点光源的世界矩阵 [page:Object3D.matrixWorld matrixWorld].
[property:object matrixAutoUpdate]
- See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the
- pointLight's [page:Object3D.matrixWorld matrixWorld].
+ 请查看 [page:Object3D.matrixAutoUpdate]. 这里设置为 *false* 表示辅助对象
+ 使用点光源的 [page:Object3D.matrixWorld matrixWorld].
[property:hex color]
- The color parameter passed in the constructor. Default is *undefined*. If this is changed, the helper's color will update
- the next time [page:.update update] is called.
+ 构造函数中传入的颜色值. 默认为 *undefined*. 如果改变该值,
+ 辅助对象的颜色将在下一次 [page:.update update] 被调用时更新.
- Methods
- See the base [page:Mesh] class for common methods.
+ 方法
+ 请到基类 [page:Mesh] 页面查看公共方法.
[method:null dispose]()
- Dispose of the pointLightHelper.
+ 销毁该点光源辅助对象.
[method:null update]()
- Updates the helper to match the position of the [page:.light].
+ 更新辅助对象,与 [page:.light] 属性的位置保持一致.
- Source
+ 源码
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
diff --git a/docs/api/zh/helpers/PolarGridHelper.html b/docs/api/zh/helpers/PolarGridHelper.html
index cac1727117a7faaf860abe16bc2d04b6d69d4356..b9e216180cbe8c75bf6dca93971cd9111c09b3c8 100644
--- a/docs/api/zh/helpers/PolarGridHelper.html
+++ b/docs/api/zh/helpers/PolarGridHelper.html
@@ -1,5 +1,5 @@
-
+
@@ -12,10 +12,10 @@
[name]
- The PolarGridHelper is an object to define polar grids. Grids are two-dimensional arrays of lines.
+ 极坐标格辅助对象. 坐标格实际上是2维线数组.
- Example
+ 例子
var radius = 10;
var radials = 16;
@@ -28,22 +28,22 @@
[example:webgl_helpers Example using various helpers]
- Constructor
+ 构造函数
[name]( [param:Number radius], [param:Number radials], [param:Number circles], [param:Number divisions], [param:Color color1], [param:Color color2] )
- radius -- The radius of the polar grid. This can be any positive number. Default is 10.
- radials -- The number of radial lines. This can be any positive integer. Default is 16.
- circles -- The number of circles. This can be any positive integer. Default is 8.
- divisions -- The number of line segments used for each circle. This can be any positive integer that is 3 or greater. Default is 64.
- color1 -- The first color used for grid elements. This can be a [page:Color], a hexadecimal value and an CSS-Color name. Default is 0x444444
- color2 -- The second color used for grid elements. This can be a [page:Color], a hexadecimal value and an CSS-Color name. Default is 0x888888
+ radius -- 极坐标格半径. 可以为任何正数. 默认为 10.
+ radials -- 径向辐射线数量. 可以为任何正整数. 默认为 16.
+ circles -- 圆圈的数量. 可以为任何正整数. 默认为 8.
+ divisions -- 圆圈细分段数. 可以为任何大于或等于3的正整数. 默认为 64.
+ color1 -- 极坐标格使用的第一个颜色. 值可以为 [page:Color] 类型, 16进制 和 CSS 颜色名. 默认为 0x444444
+ color2 -- 极坐标格使用的第二个颜色. 值可以为 [page:Color] 类型, 16进制 和 CSS 颜色名. 默认为 0x888888
- Creates a new [name] of radius 'radius' with 'radials' number of radials and 'circles' number of circles, where each circle is smoothed into 'divisions' number of line segments. Colors are optional.
+ 创建一个半径为'radius' 包含 'radials' 条径向辐射线 和 'circles' 个细分成 'divisions' 段的圆圈的极坐标格辅助对象. 颜色可选.
- Source
+ 源码
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
diff --git a/docs/api/zh/helpers/RectAreaLightHelper.html b/docs/api/zh/helpers/RectAreaLightHelper.html
index 87aad7ab9542c571ac0114fc708b9d91463c71f4..523c391a8ab9c9dbfaee8738d32a7e37e1e98013 100644
--- a/docs/api/zh/helpers/RectAreaLightHelper.html
+++ b/docs/api/zh/helpers/RectAreaLightHelper.html
@@ -1,5 +1,5 @@
-
+
@@ -13,10 +13,10 @@
[name]
- Creates a visual aid for a [page:RectAreaLight].
+ 创建一个表示 [page:RectAreaLight] 的辅助对象.
- Example
+ 例子
var light = new THREE.RectAreaLight( 0xffffbb, 1.0, 5, 5 );
@@ -27,40 +27,40 @@ scene.add( helper );
- Constructor
+ 构造函数
[name]( [param:RectAreaLight light], [param:Hex color] )
- [page:RectAreaLight light] -- The light being visualized.
+ [page:RectAreaLight light] -- 被模拟的光源.
- [page:Hex color] -- (optional) if this is not the set the helper will take the color of the light.
+ [page:Hex color] -- (可选) 如果没有赋值辅助对象将使用光源的颜色.
- Properties
- See the base [page:Object3D] class for common properties.
+ 属性
+ 请到基类 [page:Object3D] 页面查看公共属性.
[property:RectAreaLight light]
- Reference to the RectAreaLight being visualized.
+ 被模拟的区域光源.
[property:hex color]
- The color parameter passed in the constructor. Default is *undefined*. If this is changed, the helper's color will update
- the next time [page:.update update] is called.
+ 构造函数中传入的颜色值. 默认为 *undefined*. 如果改变该值,
+ 辅助对象的颜色将在下一次 [page:.update update] 被调用时更新.
- Methods
- See the base [page:Object3D] class for common methods.
+ 方法
+ 请到基类 [page:Object3D] 页面查看公共方法.
[method:null dispose]()
- Dispose of the rectAreaLightHelper.
+ 销毁该区域光源辅助对象.
[method:null update]()
- Updates the helper to match the position and direction of the [page:.light].
+ 更新辅助对象,与 [page:.light] 属性的位置和方向保持一致.
- Source
+ 源码
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
diff --git a/docs/api/zh/helpers/SkeletonHelper.html b/docs/api/zh/helpers/SkeletonHelper.html
index bab2b55680622f3e89ad670050407e4d9bc53a6a..f34d9d0595c655fa32872524c330b251776b71c8 100644
--- a/docs/api/zh/helpers/SkeletonHelper.html
+++ b/docs/api/zh/helpers/SkeletonHelper.html
@@ -1,5 +1,5 @@
-
+
@@ -13,12 +13,12 @@
[name]
- A helper object to assist with visualizing a [page:Skeleton Skeleton].
- The helper is renderered using a [page:LineBasicMaterial LineBasicMaterial].
+ 用来模拟骨骼 [page:Skeleton Skeleton] 的辅助对象.
+ 该辅助对象使用 [page:LineBasicMaterial LineBasicMaterial] 材质.
- Example
+ 例子
[example:webgl_animation_skinning_blending animation / skinning / blending]
[example:webgl_animation_skinning_morph animation / skinning / morph]
@@ -32,30 +32,30 @@ scene.add( helper );
- Constructor
+ 构造函数
[name]( object )
- object -- can be any object that has an array of [page:Bone Bone]s as a sub object.
- For example, a [page:Skeleton Skeleton] or a [page:SkinnedMesh SkinnedMesh].
+ object -- 可以是任何拥有一组骨 [page:Bone Bone] 作为子对象的对象.
+ 比如, 一个骨骼 [page:Skeleton Skeleton] 或 一个蒙皮网格 [page:SkinnedMesh SkinnedMesh].
- Properties
+ 属性
[property:Array bones]
- The list of bones that the helper renders as [page:Line Lines].
+ 辅助对象使用 [page:Line Lines] 渲染的骨数组.
[property:Object root]
- The object passed in the constructor.
+ 构造函数传入的对象.
- Source
+ 源码
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
diff --git a/docs/api/zh/helpers/SpotLightHelper.html b/docs/api/zh/helpers/SpotLightHelper.html
index f385c80f3885ed2bee5103a8ce128eb9a61c95c9..81e7428b5304a62d40b9e9e4fb254f1e0573901a 100644
--- a/docs/api/zh/helpers/SpotLightHelper.html
+++ b/docs/api/zh/helpers/SpotLightHelper.html
@@ -1,5 +1,5 @@
-
+
@@ -12,16 +12,16 @@
[name]
- This displays a cone shaped helper object for a [page:SpotLight].
+ 用于模拟聚光灯 [page:SpotLight] 的锥形辅助对象.
- Example
+ 例子
View in Examples
- Other Examples
+ 其他例子
[example:webgl_lights_spotlights lights / spotlights ]
- Code Example
+ 代码示例
var spotLight = new THREE.SpotLight( 0xffffff );
spotLight.position.set( 10, 10, 10 );
@@ -32,51 +32,51 @@
- Constructor
+ 构造函数
[name]( [param:SpotLight light], [param:Hex color] )
- [page:SpotLight light] -- The [page:SpotLight] to be visualized.
+ [page:SpotLight light] -- 被模拟的聚光灯 [page:SpotLight] .
- [page:Hex color] -- (optional) if this is not the set the helper will take the color of the light.
+ [page:Hex color] -- (可选的) 如果没有赋值辅助对象将使用光源的颜色.
- Properties
- See the base [page:Object3D] class for common properties.
+ 属性
+ 请到基类 [page:Object3D] 页面查看公共属性.
[property:LineSegments cone]
- [page:LineSegments] used to visualize the light.
+ 用于模拟光源的 [page:LineSegments] 类型对象.
[property:SpotLight light]
- Reference to the [page:SpotLight] being visualized.
+ 被模拟的聚光灯 [page:SpotLight] .
[property:object matrix]
- Reference to the spotLight's [page:Object3D.matrixWorld matrixWorld].
+ 请参考聚光灯的世界矩阵 [page:Object3D.matrixWorld matrixWorld].
[property:object matrixAutoUpdate]
- See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the
- spotLight's [page:Object3D.matrixWorld matrixWorld].
+ 请查看 [page:Object3D.matrixAutoUpdate]. 这里设置为 *false* 表示辅助对象
+ 使用聚光灯的 [page:Object3D.matrixWorld matrixWorld].
[property:hex color]
- The color parameter passed in the constructor. Default is *undefined*. If this is changed, the helper's color will update
- the next time [page:.update update] is called.
+ 构造函数中传入的颜色值. 默认为 *undefined*. 如果改变该值,
+ 辅助对象的颜色将在下一次 [page:.update update] 被调用时更新.
- Methods
- See the base [page:Object3D] class for common methods.
+ 方法
+ 请到基类 [page:Object3D] 页面查看公共属性.
[method:null dispose]()
- Disposes of the light helper.
+ 销毁该聚光灯辅助对象.
[method:null update]()
- Updates the light helper.
+ 更新聚光灯辅助对象.
- Source
+ 源码
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
diff --git a/docs/api/zh/helpers/VertexNormalsHelper.html b/docs/api/zh/helpers/VertexNormalsHelper.html
index 583ef31f074a8dbdbe2d5a846c50e55db728022e..754f1d2de6d87f2c2b83a0c08c00a6487c81994a 100644
--- a/docs/api/zh/helpers/VertexNormalsHelper.html
+++ b/docs/api/zh/helpers/VertexNormalsHelper.html
@@ -1,5 +1,5 @@
-
+
@@ -13,14 +13,14 @@
[name]
- Renders [page:ArrowHelper arrows] to visualize an object's vertex normal vectors.
- Requires that normals have been specified in a [page:BufferAttribute custom attribute] or
- have been calculated using [page:Geometry.computeVertexNormals computeVertexNormals].
+ 渲染箭头辅助对象 [page:ArrowHelper arrows] 来模拟顶点的法线.
+ 需要定义了法线缓存属性 [page:BufferAttribute custom attribute] 或
+ 使用了 [page:Geometry.computeVertexNormals computeVertexNormals] 方法计算了顶点法线.
- Unlike [page:FaceNormalsHelper], this works with [page:BufferGeometry].
+ 不像面法线辅助对象 [page:FaceNormalsHelper], 该辅助对象在 [page:BufferGeometry] 上也能正常运行.
- Example
+ 例子
[example:webgl_helpers WebGL / helpers]
@@ -36,43 +36,43 @@
- Constructor
+ 构造函数
[name]( [param:Object3D object], [param:Number size], [param:Hex color], [param:Number linewidth] )
- [page:Object3D object] -- object for which to render vertex normals.
- [page:Number size] -- (optional) length of the arrows. Default is 1.
- [page:Hex color] -- hex color of the arrows. Default is 0xff0000.
- [page:Number linewidth] -- (optional) width of the arrow lines. Default is 1.
+ [page:Object3D object] -- 要渲染顶点法线辅助的对象.
+ [page:Number size] -- (可选的) 箭头的长度. 默认为 1.
+ [page:Hex color] -- 16进制颜色值. 默认为 0xff0000.
+ [page:Number linewidth] -- (可选的) 箭头线段的宽度. 默认为 1.
- Properties
- See the base [page:LineSegments] class for common properties.
+ 属性
+ 请到基类 [page:LineSegments] 页面查看公共属性.
[property:object matrixAutoUpdate]
- See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the
- objects's [page:Object3D.matrixWorld matrixWorld].
+ 请查看 [page:Object3D.matrixAutoUpdate]. 这里设置为 *false* 表示辅助对象
+ 使用对象的世界矩阵 [page:Object3D.matrixWorld matrixWorld].
[property:Object3D object]
- The object for which the vertex normals are being visualized.
+ 被渲染顶点法线辅助的对象.
[property:Number size]
- Length of the arrows. Default is *1*.
+ 箭头的长度. 默认为 *1*.
- Methods
- See the base [page:LineSegments] class for common methods.
+ 方法
+ 请到基类 [page:LineSegments] 页面查看公共方法.
[method:null update]()
- Updates the vertex normal preview based on movement of the object.
+ 基于对象的运动更新顶点法线辅助对象.
- Source
+ 源码
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]