Package | away3d.animators |
Class | public class AnimationStateBase |
Inheritance | AnimationStateBase NamedAssetBase flash.events.EventDispatcher |
Implements | IAsset |
Subclasses | SkeletonAnimationState, UVAnimationState, VertexAnimationState |
See also
Property | Defined By | ||
---|---|---|---|
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only]
| AnimationStateBase | ||
looping : Boolean
Determines whether the contents of the animation state have looping characteristics enabled. | AnimationStateBase | ||
name : String | NamedAssetBase | ||
originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | ||
rootNode : IAnimationNode [read-only]
Returns the root animation node used by the state for determining the output pose of the animation node data. | AnimationStateBase | ||
stateName : String [read-only]
Returns the name of the state used for retrieval from inside its parent animation set object. | AnimationStateBase |
Method | Defined By | ||
---|---|---|---|
AnimationStateBase(rootNode:IAnimationNode)
Creates a new AnimationSetBase object. | AnimationStateBase | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
dispose():void
Cleans up resources used by this asset. | AnimationStateBase | ||
reset(time:int):void
Resets the configuration of the state to its default state. | AnimationStateBase | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when a non-looping clip node inside an animation state reaches the end of its timeline. | AnimationStateBase |
assetType | property |
assetType:String
[read-only]
public function get assetType():String
looping | property |
looping:Boolean
Determines whether the contents of the animation state have looping characteristics enabled.
public function get looping():Boolean
public function set looping(value:Boolean):void
rootNode | property |
rootNode:IAnimationNode
[read-only] Returns the root animation node used by the state for determining the output pose of the animation node data.
public function get rootNode():IAnimationNode
stateName | property |
stateName:String
[read-only] Returns the name of the state used for retrieval from inside its parent animation set object.
public function get stateName():String
See also
AnimationStateBase | () | Constructor |
public function AnimationStateBase(rootNode:IAnimationNode)
Creates a new AnimationSetBase
object.
rootNode:IAnimationNode — The root animation node used by the state for determining the output pose of the animation node data.
|
dispose | () | method |
public function dispose():void
Cleans up resources used by this asset.
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.
|
playbackComplete | Event |
away3d.events.AnimationStateEvent
away3d.events.AnimatorEvent
Dispatched when a non-looping clip node inside an animation state reaches the end of its timeline.