AnimationMixer Class
The 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.
The object stores animations in its animations attribute, wich is an array an of animation clips.
Methods
createActions
(
-
actions
Create actions from array of animations.
Parameters:
-
actions
ArrayArray of animations.
pause
()
Pause animation playback.
play
()
Play animation.
setTime
(
-
time
Set animation mixer time.
Parameters:
-
time
NumberTime in seconds.
stop
()
Stop animation playback.
update
(
-
delta
-
forceUpdate
Update animation state.
Parameters:
-
delta
NumberTime since last call.
-
forceUpdate
BooleanIf set true the mixer is updated even if it isnt playing.