Package | away3d.animators |
Class | public class AnimationSetBase |
Inheritance | AnimationSetBase NamedAssetBase flash.events.EventDispatcher |
Implements | IAsset |
Subclasses | ParticleAnimationSet, SkeletonAnimationSet, UVAnimationSet, VertexAnimationSet |
See also
Property | Defined By | ||
---|---|---|---|
animationNames : Vector.<String> [read-only]
Returns a vector of animation state objects that make up the contents of the animation data set. | AnimationSetBase | ||
animations : Vector.<AnimationNodeBase> [read-only]
Returns a vector of animation state objects that make up the contents of the animation data set. | AnimationSetBase | ||
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only]
| AnimationSetBase | ||
name : String | NamedAssetBase | ||
originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | ||
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. | AnimationSetBase |
Method | Defined By | ||
---|---|---|---|
addAnimation(node:AnimationNodeBase):void
Adds an animation state object to the aniamtion data set under the given name. | AnimationSetBase | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
cancelGPUCompatibility():void | AnimationSetBase | ||
dispose():void
Cleans up any resources used by the current object. | AnimationSetBase | ||
getAnimation(name:String):AnimationNodeBase
Retrieves the animation state object registered in the animation data set under the given name. | AnimationSetBase | ||
hasAnimation(name:String):Boolean
Check to determine whether a state is registered in the animation set under the given name. | AnimationSetBase | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
Method | Defined By | ||
---|---|---|---|
findTempReg(exclude:Vector.<String>, excludeAnother:String = null):String
Retrieves a temporary GPU register that's still free. | AnimationSetBase |
animationNames | property |
animationNames:Vector.<String>
[read-only] Returns a vector of animation state objects that make up the contents of the animation data set.
public function get animationNames():Vector.<String>
animations | property |
animations:Vector.<AnimationNodeBase>
[read-only] Returns a vector of animation state objects that make up the contents of the animation data set.
public function get animations():Vector.<AnimationNodeBase>
assetType | property |
assetType:String
[read-only]
public function get assetType():String
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
addAnimation | () | method |
public function addAnimation(node:AnimationNodeBase):void
Adds an animation state object to the aniamtion data set under the given name.
Parameters
node:AnimationNodeBase — The name under which the animation state object will be stored.
|
cancelGPUCompatibility | () | method |
public function cancelGPUCompatibility():void
dispose | () | method |
public function dispose():void
Cleans up any resources used by the current object.
findTempReg | () | method |
protected function findTempReg(exclude:Vector.<String>, excludeAnother:String = null):String
Retrieves a temporary GPU register that's still free.
Parameters
exclude:Vector.<String> — An array of non-free temporary registers.
| |
excludeAnother:String (default = null ) — An additional register that's not free.
|
String — A temporary register that can be used.
|
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.
|
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.
|
Boolean |