AQ3DCurve
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Classpath: | org.asapframework.util.actionqueue.AQ3DCurve |
| File last modified: | Monday, 06 November 2006, 22:17:17 |
A class for animating objects in 3D space along a Bezier curve
Summary
Class methods
- moveCubicBezier (in3DObject:I3DObject, inEffect:Function, inEffectParams:Array) : ActionQueuePerformData
- Move a 3D object over a Bezier curve defined by start point, end point and 2 control points
- moveOffsetCubicBezier (inOffset:Vector3D, inEffect:Function, inEffectParams:Array) : ActionQueuePerformData
- Move a 3D vector over a Bezier curve defined by start point, end point and 2 control points
Class methods
moveCubicBezier
Move a 3D object over a Bezier curve defined by start point, end point and 2 control points
Parameters:
in3DObject :
the 3D object to be moved
inDuration :
duration of the animation
inStart :
start point of the animation; can be null to start at the current location
inEnd :
end point of the animation; can be null to end at the current location
inControlPoint1:
first control point
inControlPoint2:
second control point
inEffect :
the effect function to be applied
inEffectParams :
parameters for the effect
moveOffsetCubicBezier
Move a 3D vector over a Bezier curve defined by start point, end point and 2 control points
Parameters:
in3DObject :
the 3D object to be moved
inDuration :
duration of the animation
inStart :
start point of the animation; can be null to start at the current location
inEnd :
end point of the animation; can be null to end at the current location
inControlPoint1:
first control point
inControlPoint2:
second control point
inEffect :
the effect function to be applied
inEffectParams :
parameters for the effect