Packageaway3d.animators
Classpublic class VertexAnimator
InheritanceVertexAnimator Inheritance AnimatorBase Inheritance flash.events.EventDispatcher

AnimationSequenceController provides a controller for single clip-based animation sequences (fe: md2, md5anim).

Public Properties
 PropertyDefined by
 InheritedanimationState : AnimationStateBase
The animation state on which this controller acts
AnimatorBase
  timeScale : Number
The amount by which passed time should be scaled.
VertexAnimator
Protected Properties
 PropertyDefined by
 Inherited_animationState : AnimationStateBase
AnimatorBase
 Inherited_targets : Vector
AnimatorBase
Public Methods
 MethodDefined 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
Protected Methods
 MethodDefined by
 Inherited
start():void
AnimatorBase
Property detail
timeScaleproperty
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
Constructor detail
VertexAnimator()constructor
public function VertexAnimator() Init Parameters
Method detail
addSequence()method
public function addSequence(sequence:VertexAnimationSequence):void

Adds a sequence to the controller.

Parameters
sequence:VertexAnimationSequence
clone()method 
public override function clone():AnimatorBase

Clones the current object.

Returns
AnimatorBase — 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.

Parameters
sequenceName:String — The name of the clip to be played.
updateAnimation()method 
arcane override function updateAnimation(dt:uint):void

Updates the animation state.

Parameters
dt:uint — The time step passed since the last update
Wiki link
Click to go to the wiki page for 'away3d.animators.VertexAnimator'

Code examples

Comments