Jelajahi Sumber

Update ArrowHelper.html

gero3 11 tahun lalu
induk
melakukan
dde40d1c52
1 mengubah file dengan 17 tambahan dan 15 penghapusan
  1. 17 15
      docs/api/extras/helpers/ArrowHelper.html

+ 17 - 15
docs/api/extras/helpers/ArrowHelper.html

@@ -9,7 +9,7 @@
 	<body>
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
+		<div class="desc">An 3D arrow Object.</div>
 
 
 		<h2>Example</h2>
@@ -28,15 +28,17 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo dir], [page:todo origin], [page:todo length], [page:todo hex])</h3>
+		<h3>[name]([page:Vector3 dir], [page:Vector3 origin], [page:Number length], [page:Number hex], [page:Number headLength], [page:Number headWidth] )</h3>
 		<div>
 		dir -- Vector3 -- direction from origin <br />
 		origin -- Vector3 <br />
 		length -- scalar <br />
-		hex -- hexadecimal value to define color ex:0xffff00
+		hex -- hexadecimal value to define color ex:0xffff00<br />
+		headLength -- The length of the head of the arrow<br />
+		headWidth -- The length of the width of the arrow
 		</div>
 		<div>
-		todo
+		This creates an arrow starting in origin in the direction dir for a certain length. It is also possible to change color.
 		</div>
 
 
@@ -46,40 +48,40 @@
 
 		<h3>.[page:Line line]</h3>
 		<div>
-		todo
+		Contains the line part of the arrowHelper.
 		</div> 
 
 		<h3>.[page:Mesh cone]</h3>
 		<div>
-		todo
+		Contains the cone part of the arrowHelper.
 		</div> 
 
 		<h2>Methods</h2>
 
 
 
-		<h3>.setColor([page:todo hex]) [page:todo]</h3>
+		<h3>.setColor([page:Number hex])</h3>
 		<div>
-		hex -- todo
+		hex -- The hexadicmal value of the color
 		</div>
 		<div>
-		todo
+		Sets the color of the arrowHelper.
 		</div>
 
-		<h3>.setLength([page:todo length]) [page:todo]</h3>
+		<h3>.setLength([page:Number length])</h3>
 		<div>
-		length -- todo
+		length -- The desired length
 		</div>
 		<div>
-		todo
+		Sets the length of the arrowhelper.
 		</div>
 
-		<h3>.setDirection([page:todo dir]) [page:todo]</h3>
+		<h3>.setDirection([page:vector3 dir])</h3>
 		<div>
-		dir -- todo
+		dir -- The desired direction in euler format.
 		</div>
 		<div>
-		todo
+		Sets the direction of the arrowhelper.
 		</div>
 
 		<h2>Source</h2>