Packageaway3d.animators
Interfacepublic interface IAnimationState
Implementors SkeletonAnimationState, UVAnimationState, VertexAnimationState

Provides an interface for state classes inside an animation set that hold animation node data for specific animation states.

See also

away3d.animators.IAnimationSet


Public Properties
 PropertyDefined By
  looping : Boolean
Determines whether the contents of the animation state have looping characteristics enabled.
IAnimationState
  rootNode : IAnimationNode
[read-only] Returns the root animation node used by the state for determining the output pose of the animation node data.
IAnimationState
  stateName : String
[read-only] Returns the name of the state used for retrieval from inside its parent animation set object.
IAnimationState
Public Methods
 MethodDefined By
  
reset(time:int):void
Resets the configuration of the state to its default state.
IAnimationState
Property Detail
loopingproperty
looping:Boolean

Determines whether the contents of the animation state have looping characteristics enabled.


Implementation
    public function get looping():Boolean
    public function set looping(value:Boolean):void
rootNodeproperty 
rootNode:IAnimationNode  [read-only]

Returns the root animation node used by the state for determining the output pose of the animation node data.


Implementation
    public function get rootNode():IAnimationNode
stateNameproperty 
stateName:String  [read-only]

Returns the name of the state used for retrieval from inside its parent animation set object.


Implementation
    public function get stateName():String

See also

Method Detail
reset()method
public function reset(time:int):void

Resets the configuration of the state to its default state.

Parameters

time:int — The absolute time (in milliseconds) of the animator's playhead.