Provides an abstract base class for data set classes that hold animation data for use in animator classes.

See also:

  • away3d.animators.AnimatorBase

Constructor

new()

Variables

read onlyanimationNames:Vector<String>

read onlyanimations:Vector<AnimationNodeBase>

read onlyassetType:String

read onlyusesCPU:Bool

Methods

addAnimation(node:AnimationNodeBase):Void

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

Parameters:

stateName

The name under which the animation state object will be stored.

animationState

The animation state object to be staored in the set.

dispose():Void

Cleans up any resources used by the current object.

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.

Inherited Variables

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by NamedAssetBase

assetPathEquals(name:String, ns:String):Bool

@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void