Packageaway3d.animators
Classpublic class SmoothSkeletonAnimator
InheritanceSmoothSkeletonAnimator 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]
SmoothSkeletonAnimator
  rootDelta : Vector3D
[read-only]
SmoothSkeletonAnimator
  timeScale : Number
The amount by which passed time should be scaled.
SmoothSkeletonAnimator
  updateRootPosition : Boolean
SmoothSkeletonAnimator
Protected Properties
 PropertyDefined by
 Inherited_animationState : AnimationStateBase
AnimatorBase
 Inherited_targets : Vector
AnimatorBase
Public Methods
 MethodDefined by
  
Creates a new AnimationSequenceController object.
SmoothSkeletonAnimator
  
Adds a sequence to the controller.
SmoothSkeletonAnimator
  
Clones the current object.
SmoothSkeletonAnimator
  
play(sequenceName:String, crossFadeTime:Number = 0):void
Plays a sequence with a given name.
SmoothSkeletonAnimator
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
SmoothSkeletonAnimator()constructor
public function SmoothSkeletonAnimator() 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, crossFadeTime:Number = 0):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.
 
crossFadeTime:Number (default = 0)
Wiki link
Click to go to the wiki page for 'away3d.animators.SmoothSkeletonAnimator'

Code examples

Comments