11<!DOCTYPE html>
2- < html lang ="en ">
2+ < html lang ="zh ">
33 < head >
44 < meta charset ="utf-8 " />
55 < base href ="../../../ " />
1212
1313 < h1 > [name]</ h1 >
1414
15- < p class ="desc "> An 3D arrow object for visualizing directions .</ p >
15+ < p class ="desc "> 用于模拟方向的3维箭头对象 .</ p >
1616
1717
18- < h2 > Example </ h2 >
18+ < h2 > 例子 </ h2 >
1919
2020 < div > [example:webgl_geometries WebGL / geometries]</ div >
2121 < div > [example:webgl_geometry_normals WebGL / geometry / normals]</ div >
@@ -37,61 +37,61 @@ <h2>Example</h2>
3737
3838
3939
40- < h2 > Constructor </ h2 >
40+ < h2 > 构造函数 </ h2 >
4141
4242
4343 < h3 > [name]([param:Vector3 dir], [param:Vector3 origin], [param:Number length], [param:Number hex], [param:Number headLength], [param:Number headWidth] )</ h3 >
4444 < p >
45- [page:Vector3 dir] -- direction from origin. Must be a unit vector . < br />
46- [page:Vector3 origin] -- Point at which the arrow starts .< br />
47- [page:Number length] -- length of the arrow. Default is *1*.< br />
48- [page:Number hex] -- hexadecimal value to define color. Default is 0xffff00.< br />
49- [page:Number headLength] -- The length of the head of the arrow. Default is 0.2 * length.< br />
50- [page:Number headWidth] -- The length of the width of the arrow. Default is 0.2 * headLength.
45+ [page:Vector3 dir] -- 基于箭头原点的方向. 必须为单位向量 . < br />
46+ [page:Vector3 origin] -- 箭头的原点 .< br />
47+ [page:Number length] -- 箭头的长度. 默认为 *1*.< br />
48+ [page:Number hex] -- 定义的16进制颜色值. 默认为 0xffff00.< br />
49+ [page:Number headLength] -- 箭头头部(锥体)的长度. 默认为箭头长度的0.2倍( 0.2 * length) .< br />
50+ [page:Number headWidth] -- 箭头的宽度. 默认为箭头头部(锥体)长度的0.2倍( 0.2 * headLength) .
5151 </ p >
5252
53- < h2 > Properties </ h2 >
54- < p > See the base [page:Object3D] class for common properties .</ p >
53+ < h2 > 属性 </ h2 >
54+ < p > 请到基类 [page:Object3D] 页面查看公共属性 .</ p >
5555
5656
5757 < h3 > [property:Line line]</ h3 >
58- < p > Contains the line part of the arrowHelper .</ p >
58+ < p > 包含箭头辅助对象的线段部分 .</ p >
5959
6060 < h3 > [property:Mesh cone]</ h3 >
61- < p > Contains the cone part of the arrowHelper .</ p >
61+ < p > 包含箭头辅助对象的锥体部分 .</ p >
6262
6363
6464
6565
66- < h2 > Methods </ h2 >
67- < p > See the base [page:Object3D] class for common methods .</ p >
66+ < h2 > 方法 </ h2 >
67+ < p > 请到基类 [page:Object3D] 页面查看公共方法 .</ p >
6868
6969
7070
7171 < h3 > [method:null setColor]([param:Number hex])</ h3 >
7272 < p >
73- hex -- The hexadecimal value of the color .< br /> < br />
73+ hex -- 16进制颜色值 .< br /> < br />
7474
75- Sets the color of the arrowHelper .
75+ 设置箭头辅助对象的颜色 .
7676 </ p >
7777
7878 < h3 > [method:null setLength]([param:Number length], [param:Number headLength], [param:Number headWidth])</ h3 >
7979 < p >
80- length -- The desired length .< br />
81- headLength -- The length of the head of the arrow .< br />
82- headWidth -- The length of the width of the arrow .< br /> < br />
80+ length -- 要设置的长度 .< br />
81+ headLength -- 要设置的箭头头部(锥体)的长度 .< br />
82+ headWidth -- 要设置的箭头的宽度 .< br /> < br />
8383
84- Sets the length of the arrowhelper .
84+ 设置箭头辅助对象的长度 .
8585 </ p >
8686
8787 < h3 > [method:null setDirection]([param:Vector3 dir])</ h3 >
8888 < p >
89- dir -- The desired direction. Must be a unit vector .< br /> < br />
89+ dir -- 要设置的方向. 必须为单位向量 .< br /> < br />
9090
91- Sets the direction of the arrowhelper .
91+ 设置箭头辅助对象的方向 .
9292 </ p >
9393
94- < h2 > Source </ h2 >
94+ < h2 > 源码 </ h2 >
9595
9696 [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
9797 </ body >
0 commit comments