Packageaway3d.animators
Classpublic class SkeletonAnimator
InheritanceSkeletonAnimator Inheritance AnimatorBase Inheritance flash.events.EventDispatcher

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

Public Properties
 PropertyDefined by
  animationState : AnimationStateBase
[write-only]
SkeletonAnimator
  rootDelta : Vector3D
[read-only]
SkeletonAnimator
  timeScale : Number
The amount by which passed time should be scaled.
SkeletonAnimator
  updateRootPosition : Boolean
SkeletonAnimator
Protected Properties
 PropertyDefined by
 Inherited_animationState : AnimationStateBase
AnimatorBase
 Inherited_targets : Vector
AnimatorBase
Public Methods
 MethodDefined by
  
Creates a new AnimationSequenceController object.
SkeletonAnimator
  
Adds a sequence to the controller.
SkeletonAnimator
  
Clones the current object.
SkeletonAnimator
  
play(sequenceName:String):void
Plays a sequence with a given name.
SkeletonAnimator
Protected Methods
 MethodDefined by
 Inherited
start():void
AnimatorBase
Property detail
animationStateproperty
animationState:AnimationStateBase  [write-only]

Implementation
    public function set animationState(value:AnimationStateBase):void
rootDeltaproperty 
rootDelta:Vector3D  [read-only]Implementation
    public function get rootDelta():Vector3D
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
updateRootPositionproperty 
updateRootPosition:Boolean  [read-write]Implementation
    public function get updateRootPosition():Boolean
    public function set updateRootPosition(value:Boolean):void
Constructor detail
SkeletonAnimator()constructor
public function SkeletonAnimator() Init Parameters
Method detail
addSequence()method
public function addSequence(sequence:SkeletonAnimationSequence):void

Adds a sequence to the controller.

Parameters
sequence:SkeletonAnimationSequence
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.
Wiki link
Click to go to the wiki page for 'away3d.animators.SkeletonAnimator'

Code examples

Comments