Class zwt.animation.AnimationProcessor
Extends
zwt.Object.
An animation processor is used to execute a set of animations. The resulting animation is the merge of all the animation declared in the processor.
Defined in: AnimationProcessor.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Construct an animation processor.
|
Method Attributes | Method Name and Description |
---|---|
addAnimation(zwt_animation_Animation_anim)
Add an animation to the processor.
|
|
commit()
Run the resulting animation.
|
|
Return the step duration of the resulting animation.
|
|
setStepDuration(int_stepDuration)
Set the step duration of the resulting animation.
|
Class Detail
zwt.animation.AnimationProcessor()
Construct an animation processor.
Author: Jeremy KUHN.
Author: Jeremy KUHN.
Method Detail
addAnimation(zwt_animation_Animation_anim)
Add an animation to the processor.
- Parameters:
- {zwt.animation.Animation} zwt_animation_Animation_anim
- The animation to add.
commit()
Run the resulting animation.
{Integer}
getStepDuration()
Return the step duration of the resulting animation.
- Returns:
- The step duration
setStepDuration(int_stepDuration)
Set the step duration of the resulting animation.
- Parameters:
- {Integer} int_stepDuration
- The step duration