| Package | away3d.paths |
| Interface | public interface IPathSegment |
| Implementors | CubicPathSegment, QuadraticPathSegment |
| Method | Defined By | ||
|---|---|---|---|
dispose():void
Destroys the segment
| IPathSegment | ||
getPointOnSegment(phase:Number, target:Vector3D = null):Vector3D
Calculates the position of the curve on this segment. | IPathSegment | ||
| dispose | () | method |
public function dispose():voidDestroys the segment
| getPointOnSegment | () | method |
public function getPointOnSegment(phase:Number, target:Vector3D = null):Vector3DCalculates the position of the curve on this segment.
Parameters
phase:Number — The ratio between the start and end point.
| |
target:Vector3D (default = null) — An optional target to store the calculation, to prevent creating a new Vector3D object.
|
Vector3D — |