View source
interface IAnimationSet
package away3d.animators
extended by ParticleAnimationSet, SkeletonAnimationSet, SpriteSheetAnimationSet, UVAnimationSet, VertexAnimationSet
Available on all platforms
Provides an interface for data set classes that hold animation data for use in animator classes.
See also:
away3d.animators.IAnimator
Variables
read onlyusesCPU:Bool
Indicates whether the properties of the animation data contained within the set combined with the vertex registers aslready in use on shading materials allows the animation data to utilise GPU calls.
Methods
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. |
|---|