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:
-
actionsArrayArray of animations.
pause
()
Pause animation playback.
play
()
Play animation.
setTime
(
-
time
Set animation mixer time.
Parameters:
-
timeNumberTime in seconds.
stop
()
Stop animation playback.
update
(
-
delta -
forceUpdate
Update animation state.
Parameters:
-
deltaNumberTime since last call.
-
forceUpdateBooleanIf set true the mixer is updated even if it isnt playing.
