[name]

The AnimationHandler handles the initialisation of the Animation data and the animations itself. It keeps track of every animation and if it's active or not. It also update all animations which are active if its method *update* is called.

Constructor

[name]()

The animationHandler can't be called as constructor.

Properties

[property:number CATMULLROM]

Enum Value to indicate that the animation needs to be interpolated as CATMULLROM.

[property:number CATMULLROM_FORWARD]

Enum Value to indicate that the animation needs to be interpolated as CATMULLROM_FORWARD.

[property:number LINEAR]

Enum Value to indicate that the animation needs to be interpolated as LINEAR.

Methods

[method:null removeFromUpdate]([page:Animation animation])

animation -- The Animation to remove from the update.
Removes the animation from the update cycle. This gets called when the animation stops. This shouldn't be called by usercode.

[method:Object get]([page:String name])

name -- The name of the animationData
Gets the animationData from its library.

[method:null update]([page:Number deltaTimeMS])

deltaTimeMS -- Time elapsed since last update in milliseconds.
Updates all active animations with deltaTime.

[method:null parse]([page:Object root])

root -- object
Parses the object to get the hierachy.

[method:null add]([page:object data])

data -- The animationData
Adds the animationData from its library.

[method:null addToUpdate]([page:Animation animation])

animation -- The Animation to add from the update.
Adds the animation from the update cycle. This gets called when the animation starts. This shouldn't be called by user code.

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]