Package | away3d.animators.utils |
Class | public class PathUtils |
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):Number3D
[static]
| PathUtils | ||
[static]
| PathUtils | ||
[static]
| PathUtils | ||
[static]
| PathUtils | ||
[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):Number3D
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 )
|
Number3D |
getPointsOnCurve | () | method |
public static function getPointsOnCurve(_path:Path, subdivision:int):Array
Parameters
_path:Path |
|
subdivision:int |
Array |
getSegmentPoints | () | method |
public static function getSegmentPoints(pStart:Number3D, pControl:Number3D, pEnd:Number3D, n:Number, last:Boolean):Array
Parameters
pStart:Number3D |
|
pControl:Number3D |
|
pEnd:Number3D |
|
n:Number |
|
last:Boolean |
Array |
rotatePoint | () | method |
public static function rotatePoint(aPoint:Number3D, rotation:Number3D):Number3D
Parameters
aPoint:Number3D |
|
rotation:Number3D |
Number3D |
step | () | method |
public static function step(startVal:Number3D, endVal:Number3D, subdivision:int):Array
Parameters
startVal:Number3D |
|
endVal:Number3D |
|
subdivision:int |
Array |