소스 검색

CurvePath default value

gonnavis 5 년 전
부모
커밋
a814bf02d7
2개의 변경된 파일23개의 추가작업 그리고 3개의 파일을 삭제
  1. 10 3
      docs/api/en/extras/core/CurvePath.html
  2. 13 0
      docs/api/zh/extras/core/CurvePath.html

+ 10 - 3
docs/api/en/extras/core/CurvePath.html

@@ -51,13 +51,20 @@
 
 		<h3>[method:Float getCurveLengths]()</h3>
 		<p>Adds together the lengths of the curves in the [page:.curves] array.</p>
-
-		<h3>[method:Vector getPoint]( [param:Float t] )</h3>
-
+				
 		<h3>[method:Array getPoints]( [param:Integer divisions] )</h3>
+		<p>
+			divisions -- number of pieces to divide the curve into. Default is *12*.<br /><br />
+
+			Returns a set of divisions + 1 points using getPoint( t ).
+		</p>
 
 		<h3>[method:Array getSpacedPoints]( [param:Integer divisions] )</h3>
+		<p>
+			divisions -- number of pieces to divide the curve into. Default is *40*.<br /><br />
 
+			Returns a set of divisions + 1 equi-spaced points using getPointAt( u ).
+		</p>
 
 		<h2>Source</h2>
 

+ 13 - 0
docs/api/zh/extras/core/CurvePath.html

@@ -52,6 +52,19 @@
 		<h3>[method:Float getCurveLengths]()</h3>
 		<p>将[page:.curves]数组中曲线的长度相加。</p>
 
+		<h3>[method:Array getPoints]( [param:Integer divisions] )</h3>
+		<p>
+			divisions -- 曲线分段数量。默认值为*12*。<br /><br />
+
+			返回一组使用getPoint( t )获得的divisions + 1个点。
+		</p>
+
+		<h3>[method:Array getSpacedPoints]( [param:Integer divisions] )</h3>
+		<p>
+			divisions -- 曲线分段数量。默认值为*40*。<br /><br />
+
+			返回一组使用getPointAt( u )获得的divisions + 1个均分点。
+		</p>
 
 		<h2>源代码</h2>