Skip to content

Commit

Permalink
Docs: Improve AnimationMixer page. (#27914)
Browse files Browse the repository at this point in the history
* Update AnimationMixer.html: describe that `AnimationMixer.stopAllAction()` will call `AnimationAction.stop()` on all actions, and tip at using it when there is a single root upon disposing a mixer.

* Update AnimationMixer.html

---------

Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
  • Loading branch information
trusktr and Mugen87 authored Mar 18, 2024
1 parent e6fb47d commit 83f7580
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/api/en/animation/AnimationMixer.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ <h3>[method:undefined uncacheRoot]([param:Object3D root])</h3>
<p>
Deallocates all memory resources for a root object. Before using this
method make sure to call [page:AnimationAction.stop]() for all related
actions.
actions or alternatively [page:.stopAllAction]() when the mixer operates
on a single root.
</p>

<h3>[method:undefined uncacheAction]([param:AnimationClip clip], [param:Object3D optionalRoot])
Expand Down

0 comments on commit 83f7580

Please sign in to comment.