Package | away3d.animators.utils |
Class | public class PathUtils |
Inheritance | PathUtils Object |
Method | Defined By | ||
---|---|---|---|
getNewPoint(x0:Number = 0, y0:Number = 0, z0:Number = 0, aX:Number = 0, aY:Number = 0, aZ:Number = 0, x1:Number = 0, y1:Number = 0, z1:Number = 0, t:Number = 0):Vector3D [static] | PathUtils | ||
getPointsOnCurve(_path:Path, subdivision:int):Array [static] | PathUtils | ||
getSegmentPoints(pStart:Vector3D, pControl:Vector3D, pEnd:Vector3D, n:Number, last:Boolean):Array [static] | PathUtils | ||
rotatePoint(aPoint:Vector3D, rotation:Vector3D):Vector3D [static] | PathUtils | ||
step(startVal:Vector3D, endVal:Vector3D, subdivision:int):Array [static] | PathUtils |
getNewPoint | () | method |
public static function getNewPoint(x0:Number = 0, y0:Number = 0, z0:Number = 0, aX:Number = 0, aY:Number = 0, aZ:Number = 0, x1:Number = 0, y1:Number = 0, z1:Number = 0, t:Number = 0):Vector3D
Parameters
x0:Number (default = 0 )
| |
y0:Number (default = 0 )
| |
z0:Number (default = 0 )
| |
aX:Number (default = 0 )
| |
aY:Number (default = 0 )
| |
aZ:Number (default = 0 )
| |
x1:Number (default = 0 )
| |
y1:Number (default = 0 )
| |
z1:Number (default = 0 )
| |
t:Number (default = 0 )
|
Vector3D |
getPointsOnCurve | () | method |
public static function getPointsOnCurve(_path:Path, subdivision:int):Array
Parameters
_path:Path | |
subdivision:int |
Array |
getSegmentPoints | () | method |
public static function getSegmentPoints(pStart:Vector3D, pControl:Vector3D, pEnd:Vector3D, n:Number, last:Boolean):Array
Parameters
pStart:Vector3D | |
pControl:Vector3D | |
pEnd:Vector3D | |
n:Number | |
last:Boolean |
Array |
rotatePoint | () | method |
public static function rotatePoint(aPoint:Vector3D, rotation:Vector3D):Vector3D
Parameters
aPoint:Vector3D | |
rotation:Vector3D |
Vector3D |
step | () | method |
public static function step(startVal:Vector3D, endVal:Vector3D, subdivision:int):Array
Parameters
startVal:Vector3D | |
endVal:Vector3D | |
subdivision:int |
Array |