Browse Source

Docs: Object3D&SpotLight&TorusGeometry (#22906)

* Docs: Object3D&SpotLight

About Object3D:
The value type of the children property is Array, but the documents of zh, en, ko all define it as Object3D.

About SpotLight:
In the description of the target attribute, the SpotLight is translated into a DirectionalLight, this should be an unintentional mistake. (the error only occurs in Chinese documents).

* Docs: TorusGeometry(zh)

Correct the definition of `radius` and 'radiusSegments' in '构造器'.
Matrix 3 years ago
parent
commit
8cd4b99b01

+ 1 - 1
docs/api/en/core/Object3D.html

@@ -35,7 +35,7 @@
 		<h3>[property:Boolean castShadow]</h3>
 		<h3>[property:Boolean castShadow]</h3>
 		<p>Whether the object gets rendered into shadow map. Default is *false*.</p>
 		<p>Whether the object gets rendered into shadow map. Default is *false*.</p>
 
 
-		<h3>[property:Object3D children]</h3>
+		<h3>[property:Array children]</h3>
 		<p>Array with object's children. See [page:Group] for info on manually grouping objects.</p>
 		<p>Array with object's children. See [page:Group] for info on manually grouping objects.</p>
 
 
 		<h3>[property:Material customDepthMaterial]</h3>
 		<h3>[property:Material customDepthMaterial]</h3>

+ 1 - 1
docs/api/ko/core/Object3D.html

@@ -33,7 +33,7 @@
 		<h3>[property:Boolean castShadow]</h3>
 		<h3>[property:Boolean castShadow]</h3>
 		<p>객체가 섀도우 맵으로 렌더링 되는지의 여부입니다. 기본값은 *false*입니다.</p>
 		<p>객체가 섀도우 맵으로 렌더링 되는지의 여부입니다. 기본값은 *false*입니다.</p>
 
 
-		<h3>[property:Object3D children]</h3>
+		<h3>[property:Array children]</h3>
 		<p>객체의 자식 배열입니다. 수동으로 객체를 그룹핑하는 내용은 [page:Group]을 참고하세요.</p>
 		<p>객체의 자식 배열입니다. 수동으로 객체를 그룹핑하는 내용은 [page:Group]을 참고하세요.</p>
 
 
 		<h3>[property:Material customDepthMaterial]</h3>
 		<h3>[property:Material customDepthMaterial]</h3>

+ 1 - 1
docs/api/zh/core/Object3D.html

@@ -35,7 +35,7 @@
 	<h3>[property:Boolean castShadow]</h3>
 	<h3>[property:Boolean castShadow]</h3>
 	<p>对象是否被渲染到阴影贴图中。默认值为*false*。</p>
 	<p>对象是否被渲染到阴影贴图中。默认值为*false*。</p>
 
 
-	<h3>[property:Object3D children]</h3>
+	<h3>[property:Array children]</h3>
 	<p>含有对象的子级的数组。请参阅[page:Group]来了解将手动对象进行分组的相关信息。</p>
 	<p>含有对象的子级的数组。请参阅[page:Group]来了解将手动对象进行分组的相关信息。</p>
 
 
 	<h3>[property:Material customDepthMaterial]</h3>
 	<h3>[property:Material customDepthMaterial]</h3>

+ 2 - 2
docs/api/zh/geometries/TorusGeometry.html

@@ -43,9 +43,9 @@
 
 
 		<h3>[name]([param:Float radius], [param:Float tube], [param:Integer radialSegments], [param:Integer tubularSegments], [param:Float arc])</h3>
 		<h3>[name]([param:Float radius], [param:Float tube], [param:Integer radialSegments], [param:Integer tubularSegments], [param:Float arc])</h3>
 		<p>
 		<p>
-				radius - 环的半径,从环的中心到管道横截面的中心。默认值是1。<br />
+				radius - 环的半径,从环的中心到管道横截面的中心。默认值是1。<br />
 				tube — 管道的半径,默认值为0.4。<br />
 				tube — 管道的半径,默认值为0.4。<br />
-				radialSegments — 圆环的分段数,默认值为8。<br />
+				radialSegments — 管道横截面的分段数,默认值为8。<br />
 				tubularSegments — 管道的分段数,默认值为6。<br />
 				tubularSegments — 管道的分段数,默认值为6。<br />
 				arc — 圆环的圆心角(单位是弧度),默认值为Math.PI * 2。
 				arc — 圆环的圆心角(单位是弧度),默认值为Math.PI * 2。
 				</p>
 				</p>

+ 1 - 1
docs/api/zh/lights/SpotLight.html

@@ -120,7 +120,7 @@
 
 
 		<h3>[property:Object3D target]</h3>
 		<h3>[property:Object3D target]</h3>
 		<p>
 		<p>
-				平行光的方向是从它的位置到目标位置.默认的目标位置为原点 *(0,0,0)*。<br />
+				聚光灯的方向是从它的位置到目标位置.默认的目标位置为原点 *(0,0,0)*。<br />
 				注意: 对于目标的位置,要将其更改为除缺省值之外的任何位置,它必须被添加到 [page:Scene scene]
 				注意: 对于目标的位置,要将其更改为除缺省值之外的任何位置,它必须被添加到 [page:Scene scene]
 				场景中去。
 				场景中去。
 			<code>
 			<code>