Package | away3d.animators |
Interface | public interface IAnimationSet |
Implementors | SkeletonAnimationSet, UVAnimationSet, VertexAnimationSet |
See also
Property | Defined By | ||
---|---|---|---|
states : Vector.<IAnimationState> [read-only]
Returns a vector of animation state objects that make up the contents of the animation data set. | IAnimationSet | ||
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 |
Method | Defined By | ||
---|---|---|---|
addState(stateName:String, animationState:IAnimationState):void
Adds an animation state object to the aniamtion data set under the given name. | IAnimationSet | ||
getState(stateName:String):IAnimationState
Retrieves the animation state object registered in the animation data set under the given name. | IAnimationSet | ||
hasState(stateName:String):Boolean
Check to determine whether a state is registered in the animation set under the given name. | IAnimationSet |
states | property |
states:Vector.<IAnimationState>
[read-only] Returns a vector of animation state objects that make up the contents of the animation data set.
public function get states():Vector.<IAnimationState>
usesCPU | property |
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.
public function get usesCPU():Boolean
addState | () | method |
public function addState(stateName:String, animationState:IAnimationState):void
Adds an animation state object to the aniamtion data set under the given name.
Parameters
stateName:String — The name under which the animation state object will be stored.
| |
animationState:IAnimationState — The animation state object to be staored in the set.
|
getState | () | method |
public function getState(stateName:String):IAnimationState
Retrieves the animation state object registered in the animation data set under the given name.
Parameters
stateName:String — The name of the animation state object to be retrieved.
|
IAnimationState |
hasState | () | method |
public function hasState(stateName:String):Boolean
Check to determine whether a state is registered in the animation set under the given name.
Parameters
stateName:String — The name of the animation state object to be checked.
|
Boolean |