Package | away3d.animators |
Class | public class VertexAnimator |
Inheritance | VertexAnimator AnimatorBase flash.events.EventDispatcher |
Property | Defined by | ||
---|---|---|---|
animationState : AnimationStateBase
The animation state on which this controller acts
| AnimatorBase | ||
timeScale : Number
The amount by which passed time should be scaled.
| VertexAnimator |
Method | Defined by | ||
---|---|---|---|
Creates a new AnimationSequenceController object.
| VertexAnimator | ||
Adds a sequence to the controller.
| VertexAnimator | ||
Clones the current object.
| VertexAnimator | ||
play(sequenceName:String):void
Plays a sequence with a given name.
| VertexAnimator |
timeScale | property |
timeScale:Number
[read-write]The amount by which passed time should be scaled. Used to slow down or speed up animations.
Implementation public function get timeScale():Number
public function set timeScale(value:Number):void
VertexAnimator | () | constructor |
public function VertexAnimator()
Init Parameters
addSequence | () | method |
public function addSequence(sequence:VertexAnimationSequence):void
Adds a sequence to the controller.
Parameterssequence:VertexAnimationSequence |
clone | () | method |
public override function clone():AnimatorBase
Clones the current object.
ReturnsAnimatorBase —
An exact duplicate of this object.
|
play | () | method |
public function play(sequenceName:String):void
Plays a sequence with a given name. If the sequence is not found, it may not be loaded yet, and it will retry every frame.
ParameterssequenceName:String — The name of the clip to be played.
|
updateAnimation | () | method |
arcane override function updateAnimation(dt:uint):void
Updates the animation state.
Parametersdt:uint — The time step passed since the last update
|