Packageaway3d.animators
Classpublic class SkeletonAnimationState
InheritanceSkeletonAnimationState Inheritance AnimationStateBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Implements IAnimationState

The animation state class used by skeleton-based animation data sets to store animation node data.

See also

away3d.animators.SkeletonAnimator
away3d.animators.SkeletonAnimationSet


Public Properties
 PropertyDefined By
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[read-only]
AnimationStateBase
 Inheritedlooping : Boolean
Determines whether the contents of the animation state have looping characteristics enabled.
AnimationStateBase
 Inheritedname : String
NamedAssetBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
 InheritedrootNode : IAnimationNode
[read-only] Returns the root animation node used by the state for determining the output pose of the animation node data.
AnimationStateBase
 InheritedstateName : String
[read-only] Returns the name of the state used for retrieval from inside its parent animation set object.
AnimationStateBase
Public Methods
 MethodDefined By
  
Creates a new SkeletonAnimationState object.
SkeletonAnimationState
  
addOwner(owner:IAnimationSet, stateName:String):void
[override]
SkeletonAnimationState
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
dispose():void
Cleans up resources used by this asset.
AnimationStateBase
 Inherited
reset(time:int):void
Resets the configuration of the state to its default state.
AnimationStateBase
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Events
 Event Summary Defined By
 InheritedDispatched when a non-looping clip node inside an animation state reaches the end of its timeline.AnimationStateBase
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Constructor Detail
SkeletonAnimationState()Constructor
public function SkeletonAnimationState(rootNode:ISkeletonAnimationNode)

Creates a new SkeletonAnimationState object.

Parameters
rootNode:ISkeletonAnimationNode — Sets the root animation node used by the state for determining the output pose of the animation node data.
Method Detail
addOwner()method
override public function addOwner(owner:IAnimationSet, stateName:String):void

Parameters

owner:IAnimationSet
 
stateName:String