|
@@ -42,11 +42,10 @@
|
|
|
<h3>[method:Line3 applyMatrix4]( [param:Matrix4 matrix] )</h3>
|
|
|
<div>Applies a matrix transform to the line segment.</div>
|
|
|
|
|
|
- <h3>[method:Vector3 at]( [param:Float t], [param:Vector3 optionalTarget] )</h3>
|
|
|
+ <h3>[method:Vector3 at]( [param:Float t], [param:Vector3 target] )</h3>
|
|
|
<div>
|
|
|
[page:Float t] - Use values 0-1 to return a position along the line segment. <br />
|
|
|
- [page:Vector3 optionalTarget] - (optional) if specified, the result will be copied into this [page:Vector3],
|
|
|
- otherwise a new [page:Vector3] will be created.<br /><br />
|
|
|
+ [page:Vector3 target] — the result will be copied into this Vector3.<br /><br />
|
|
|
|
|
|
Returns a vector at a certain position along the line. When [page:Float t] = 0, it returns the start vector,
|
|
|
and when [page:Float t] = 1 it returns the end vector.<br />
|
|
@@ -55,12 +54,11 @@
|
|
|
<h3>[method:Line3 clone]()</h3>
|
|
|
<div>Returns a new [page:Line3] with the same [page:.start start] and [page:.end end] vectors as this one.</div>
|
|
|
|
|
|
- <h3>[method:Vector3 closestPointToPoint]( [param:Vector3 point], [param:Boolean clampToLine], [param:Vector3 optionalTarget] )</h3>
|
|
|
+ <h3>[method:Vector3 closestPointToPoint]( [param:Vector3 point], [param:Boolean clampToLine], [param:Vector3 target] )</h3>
|
|
|
<div>
|
|
|
[page:Vector3 point] - return the closest point on the line to this point.<br />
|
|
|
[page:Boolean clampToLine] - whether to clamp the returned value to the line segment.<br />
|
|
|
- [page:Vector3 optionalTarget] - (optional) if specified, the result will be copied into this [page:Vector3],
|
|
|
- otherwise a new [page:Vector3] will be created.<br /><br />
|
|
|
+ [page:Vector3 target] — the result will be copied into this Vector3.<br /><br />
|
|
|
|
|
|
Returns the closets point on the line. If [page:Boolean clampToLine] is true, then the returned value will be
|
|
|
clamped to the line segment.
|
|
@@ -78,10 +76,9 @@
|
|
|
<h3>[method:Line3 copy]( [param:Line3 line] )</h3>
|
|
|
<div>Copies the passed line's [page:.start start] and [page:.end end] vectors to this line.</div>
|
|
|
|
|
|
- <h3>[method:Vector3 delta]( [param:Vector3 optionalTarget] )</h3>
|
|
|
+ <h3>[method:Vector3 delta]( [param:Vector3 target] )</h3>
|
|
|
<div>
|
|
|
- [page:Vector3 optionalTarget] - (optional) if specified, the result will be copied into this [page:Vector3],
|
|
|
- otherwise a new [page:Vector3] will be created.<br /><br />
|
|
|
+ [page:Vector3 target] — the result will be copied into this Vector3.<br /><br />
|
|
|
|
|
|
Returns the delta vector of the line segment ( [page:.end end] vector minus the [page:.start start] vector).
|
|
|
</div>
|
|
@@ -104,10 +101,9 @@
|
|
|
Returns true if both line's [page:.start start] and [page:.end en] points are equal.
|
|
|
</div>
|
|
|
|
|
|
- <h3>[method:Vector3 getCenter]( [param:Vector3 optionalTarget] )</h3>
|
|
|
+ <h3>[method:Vector3 getCenter]( [param:Vector3 target] )</h3>
|
|
|
<div>
|
|
|
- [page:Vector3 optionalTarget] - (optional) if specified, the result will be copied into this [page:Vector3],
|
|
|
- otherwise a new [page:Vector3] will be created.<br /><br />
|
|
|
+ [page:Vector3 target] — the result will be copied into this Vector3.<br /><br />
|
|
|
|
|
|
Returns the center of the line segment.
|
|
|
</div>
|