View source
class AnimationSetBase
package away3d.animators
extends NamedAssetBase
implements IAsset
extended by ParticleAnimationSet, SkeletonAnimationSet, SpriteSheetAnimationSet, UVAnimationSet, VertexAnimationSet
Available on all platforms
Provides an abstract base class for data set classes that hold animation data for use in animator classes.
See also:
away3d.animators.AnimatorBase
Constructor
Variables
Methods
addAnimation(node:AnimationNodeBase):Void
Adds an animation state object to the aniamtion data set under the given name.
Parameters:
stateName | The name under which the animation state object will be stored. |
|---|---|
animationState | The animation state object to be staored in the set. |
getAnimation(name:String):AnimationNodeBase
Retrieves the animation state object registered in the animation data set under the given name.
Parameters:
stateName | The name of the animation state object to be retrieved. |
|---|
hasAnimation(name:String):Bool
Check to determine whether a state is registered in the animation set under the given name.
Parameters:
stateName | The name of the animation state object to be checked. |
|---|