AQ3D
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Classpath: | org.asapframework.util.actionqueue.AQ3D |
| File last modified: | Monday, 06 November 2006, 22:17:17 |
Class for simple (linear) animation of objects in 3D space
Summary
Class methods
- offset (inDestVector:Vector3D, effect:Function, effectParams:Array) : ActionQueuePerformData
- Animate a 3D vector
- location (inDestObject:I3DObject, effect:Function, effectParams:Array) : ActionQueuePerformData
- Animate a 3D object
Class methods
location
static function location (
inDestObject:I3DObject,
duration:Number,
inFrom:Vector3D,
inTo:Vector3D,
effect:Function,
effectParams:Array) : ActionQueuePerformData
Animate a 3D object
Parameters:
inDestObject:
the object to be animated; its 3D-location is set directly
duration :
the duration in seconds of the animation
from :
the start value of the vector
to :
the end value of the vector
effect :
the effect to be applied
effecttype :
the type of effect to be applied
Returns:
- a value to be used by ActionQueue
offset
static function offset (
inDestVector:Vector3D,
duration:Number,
from:Vector3D,
to:Vector3D,
effect:Function,
effectParams:Array) : ActionQueuePerformData
Animate a 3D vector
Parameters:
inDestVector:
the vector to be updated
duration :
the duration in seconds of the animation
from :
the start value of the vector
to :
the end value of the vector
effect :
the effect to be applied
effecttype :
a list of effect parameters
Returns:
- a value to be used by ActionQueue