AnimationMixer

THREE.animation.AnimationMixer
class AnimationMixer extends Object

AnimationMixer is a player for animations on a particular object in the scene. When multiple objects in the scene are animated independently, one AnimationMixer may be used for each object.

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def clipAction(clip: AnimationClip | String, optionalRoot: Object3D): AnimationAction

Returns an instance of [[AnimationAction]] for the passed clip.

Returns an instance of [[AnimationAction]] for the passed clip.

Attributes

def existingAction(clip: AnimationClip | String, optionalRoot: Object3D): AnimationAction | Null

Returns an existing animation action for the passed clip.

Returns an existing animation action for the passed clip.

Attributes

def getRoot(): Object3D

Returns this mixer's root object.

Returns this mixer's root object.

Attributes

def setTime(time: Double): AnimationMixer

Sets the global mixer to a specific time and updates the animation accordingly.

Sets the global mixer to a specific time and updates the animation accordingly.

Attributes

Deactivates all previously scheduled actions on this mixer.

Deactivates all previously scheduled actions on this mixer.

Attributes

def time: Double

The global mixer time (in seconds; starting with 0 on the mixer's creation).

The global mixer time (in seconds; starting with 0 on the mixer's creation).

Attributes

def timeScale: Double

A scaling factor for the global time.

A scaling factor for the global time.

Attributes

def uncacheAction(clip: AnimationClip | String, optionalRoot: Object3D): Unit

Deallocates all memory resources for an action.

Deallocates all memory resources for an action.

Attributes

def uncacheClip(clip: AnimationClip): Unit

Deallocates all memory resources for a clip.

Deallocates all memory resources for a clip.

Attributes

def uncacheRoot(root: Object3D): Unit

Deallocates all memory resources for a root object.

Deallocates all memory resources for a root object.

Attributes

def update(deltaTime: Double): AnimationMixer

Advances the global mixer time and updates the animation.

Advances the global mixer time and updates the animation.

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object