Provides an abstract base object for data set objects that hold animation data for use in animator objects


Inherited from NamedAssetBase -> EventDispatcher


Created AnimationSetBase object has properties:

animationNames

[read-only] Returns a vector of animation state objects that make up the contents of the animation data set. Vector array of String

animations

[read-only] Returns a vector of animation state objects that make up the contents of the animation data set. Vactor array of (AnimationNodeBase)

assetType

[read-only] The type of the asset. String

usesCPU

[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. Boolean


methods:

addAnimation(node)

Adds an animation state object to the aniamtion data set under the given name.

node - The name under which the animation state object will be stored. (AnimationNodeBase)

cancelGPUCompatibility()



dispose()

Cleans up any resources used by the current object.


getAnimation(name)

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

name - The name of the animation state object to be retrieved.

hasAnimation(name)

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

name - The name of the animation state object to be retrieved.


Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily