Packageaway3d.animators
Interfacepublic interface IAnimationSet
Implementors ParticleAnimationSet, SkeletonAnimationSet, UVAnimationSet, VertexAnimationSet

Provides an interface for data set classes that hold animation data for use in animator classes.

See also

away3d.animators.IAnimator


Public Properties
 PropertyDefined By
  usesCPU : Boolean
[read-only] 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.
IAnimationSet
Public Methods
 MethodDefined By
  
Retrieves the animation state object registered in the animation data set under the given name.
IAnimationSet
  
hasAnimation(name:String):Boolean
Check to determine whether a state is registered in the animation set under the given name.
IAnimationSet
Property Detail
usesCPUproperty
usesCPU:Boolean  [read-only]

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.


Implementation
    public function get usesCPU():Boolean
Method Detail
getAnimation()method
public function getAnimation(name:String):AnimationNodeBase

Retrieves the animation state object registered in the animation data set under the given name.

Parameters

name:String — The name of the animation state object to be retrieved.

Returns
AnimationNodeBase
hasAnimation()method 
public function hasAnimation(name:String):Boolean

Check to determine whether a state is registered in the animation set under the given name.

Parameters

name:String — The name of the animation state object to be checked.

Returns
Boolean