|
@@ -9,7 +9,7 @@
|
|
<body>
|
|
<body>
|
|
<h1>[name]</h1>
|
|
<h1>[name]</h1>
|
|
|
|
|
|
- <div class="desc">todo</div>
|
|
|
|
|
|
+ <div class="desc">An 3D arrow Object.</div>
|
|
|
|
|
|
|
|
|
|
<h2>Example</h2>
|
|
<h2>Example</h2>
|
|
@@ -28,15 +28,17 @@
|
|
<h2>Constructor</h2>
|
|
<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>
|
|
<div>
|
|
dir -- Vector3 -- direction from origin <br />
|
|
dir -- Vector3 -- direction from origin <br />
|
|
origin -- Vector3 <br />
|
|
origin -- Vector3 <br />
|
|
length -- scalar <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>
|
|
<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>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@@ -46,40 +48,40 @@
|
|
|
|
|
|
<h3>.[page:Line line]</h3>
|
|
<h3>.[page:Line line]</h3>
|
|
<div>
|
|
<div>
|
|
- todo
|
|
|
|
|
|
+ Contains the line part of the arrowHelper.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h3>.[page:Mesh cone]</h3>
|
|
<h3>.[page:Mesh cone]</h3>
|
|
<div>
|
|
<div>
|
|
- todo
|
|
|
|
|
|
+ Contains the cone part of the arrowHelper.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
<h2>Methods</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <h3>.setColor([page:todo hex]) [page:todo]</h3>
|
|
|
|
|
|
+ <h3>.setColor([page:Number hex])</h3>
|
|
<div>
|
|
<div>
|
|
- hex -- todo
|
|
|
|
|
|
+ hex -- The hexadicmal value of the color
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- todo
|
|
|
|
|
|
+ Sets the color of the arrowHelper.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <h3>.setLength([page:todo length]) [page:todo]</h3>
|
|
|
|
|
|
+ <h3>.setLength([page:Number length])</h3>
|
|
<div>
|
|
<div>
|
|
- length -- todo
|
|
|
|
|
|
+ length -- The desired length
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- todo
|
|
|
|
|
|
+ Sets the length of the arrowhelper.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <h3>.setDirection([page:todo dir]) [page:todo]</h3>
|
|
|
|
|
|
+ <h3>.setDirection([page:vector3 dir])</h3>
|
|
<div>
|
|
<div>
|
|
- dir -- todo
|
|
|
|
|
|
+ dir -- The desired direction in euler format.
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- todo
|
|
|
|
|
|
+ Sets the direction of the arrowhelper.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h2>Source</h2>
|
|
<h2>Source</h2>
|