AnimationMixer.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  11. <h1>[name]</h1>
  12. <div class="desc">
  13. The AnimationMixer is a player for AnimationClip objects.
  14. </div>
  15. <h2>Constructor</h2>
  16. <h3>[name]( [page:Object3D root] )</h3>
  17. <h2>Properties</h2>
  18. <h3>[property:Number time]</h3>
  19. <h3>[property:Number timeScale]</h3>
  20. <h2>Methods</h2>
  21. <h3>[method:AnimationAction clipAction]([page:AnimationClip clip], [page:Object3D optionalRoot])</h3>
  22. <div>
  23. clip -- AnimationClip <br />
  24. optionalRoot -- Object3D
  25. </div>
  26. <div>
  27. Return an action for a clip, optionally using a custom root target object.
  28. </div>
  29. <h3>[method:AnimationAction existingAction]([page:AnimationClip clip], [page:Object3D optionalRoot])</h3>
  30. <div>
  31. clip -- AnimationClip <br />
  32. optionalRoot -- Object3D
  33. </div>
  34. <div>
  35. Return an existing action.
  36. </div>
  37. <h3>[method:AnimationMixer stopAllAction]()</h3>
  38. <div>
  39. Deactivates all scheduled actions.
  40. </div>
  41. <h3>[method:AnimationMixer update]([page:Number deltaTimeMS]) </h3>
  42. <div>
  43. deltaTimeMS -- Time elapsed since last update in milliseconds.
  44. </div>
  45. <div>
  46. Updates the animation with deltaTimeMS.
  47. </div>
  48. <h3>[method:Object3D getRoot]()</h3>
  49. <div>
  50. Return this mixer's root target object.
  51. </div>
  52. <h3>[method:null uncacheClip]([page:AnimationClip clip])</h3>
  53. <div>
  54. clip -- AnimationClip
  55. </div>
  56. <div>
  57. Free all resources for a clip.
  58. </div>
  59. <h3>[method:null uncacheRoot]([page:Object3D root]) </h3>
  60. <div>
  61. root -- Object3D
  62. </div>
  63. <div>
  64. Free all resources for a root target object.
  65. </div>
  66. <h3>[method:null uncacheAction]([page:AnimationClip clip], [page:Object3D optionalRoot])</h3>
  67. <div>
  68. clip -- AnimationClip <br />
  69. optionalRoot -- Object3D
  70. </div>
  71. <div>
  72. Free all resources for an action.
  73. </div>
  74. <h2>Source</h2>
  75. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  76. </body>
  77. </html>