AnimationObjectGroup.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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">A group of objects that receives a shared animation state.</div>
  13. <h2>Usage:</h2>
  14. <div>
  15. Add objects you would otherwise pass as 'root' to the constructor or the [page:AnimationMixer.clipAction clipAction]
  16. method of [page:AnimationMixer AnimationMixer] and instead pass this object as 'root'.<br /><br />
  17. Note that objects of this class appear as one object to the mixer,
  18. so cache control of the individual objects must be done on the group.
  19. </div>
  20. <h2>Limitations</h2>
  21. <div>
  22. The animated properties must be compatible among all objects in the group.<br /><br />
  23. A single property can either be controlled through a target group or directly, but not both.
  24. </div>
  25. <h2>Constructor</h2>
  26. <h3>[name]( [page:object obj1], [page:object obj2], [page:object obj3], ... )</h3>
  27. <h2>Properties</h2>
  28. <h3>[property:object stats]</h3>
  29. <div>
  30. </div>
  31. <h3>[property:Number timeScale]</h3>
  32. <h2>Methods</h2>
  33. <h3>[method:null add]( [page:object obj1], [page:object obj2], [page:object obj3], ... )</h3>
  34. <div>
  35. </div>
  36. <h3>[method:null remove]( [page:object obj1], [page:object obj2], [page:object obj3], ... )</h3>
  37. <div>
  38. </div>
  39. <h3>[method:null uncache]( [page:object obj1], [page:object obj2], [page:object obj3], ... )</h3>
  40. <div>
  41. </div>
  42. <h2>Source</h2>
  43. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  44. </body>
  45. </html>