SkeletonUtils.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. <p class="desc">Utility functions for [page:Skeleton], [page:SkinnedMesh], and [page:Bone] manipulation.</p>
  13. <h2>Methods</h2>
  14. <h3>[method:Object3D clone]( [param:Object3D object] )</h3>
  15. <p>
  16. Clones the given object and its descendants, ensuring that any [page:SkinnedMesh] instances
  17. are correctly associated with their bones. Bones are also cloned, and must be descendants of
  18. the object passed to this method. Other data, like geometries and materials, are reused by
  19. reference.
  20. </p>
  21. <h3>[method:Object findBoneTrackData]( [param:String name], [param:Array tracks] )</h3>
  22. <p></p>
  23. <h3>[method:Bone getBoneByName]( [param:String name], [param:Skeleton skeleton] )</h3>
  24. <p></p>
  25. <h3>[method:Array getBones]( [param:Skeleton skeleton] )</h3>
  26. <p></p>
  27. <h3>[method:Array getEqualsBonesNames]( [param:Skeleton skeleton], [param:Skeleton targetSkeleton] )</h3>
  28. <p></p>
  29. <h3>[method:SkeletonHelper getHelperFromSkeleton]( [param:Skeleton skeleton] )</h3>
  30. <p></p>
  31. <h3>[method:Bone getNearestBone]( [param:Bone bone], [param:Array names] )</h3>
  32. <p></p>
  33. <h3>[method:Object getSkeletonOffsets]( [param:SkeletonHelper target], [param:SkeletonHelper source], [param:Object options] )</h3>
  34. <p></p>
  35. <h3>[method:this renameBones]( [param:Skeleton skeleton], [param:Array names] )</h3>
  36. <p></p>
  37. <h3>[method:null retarget]( [param:SkeletonHelper target], [param:SkeletonHelper source], [param:Object options] )</h3>
  38. <p></p>
  39. <h3>[method:AnimationClip retargetClip]( [param:SkeletonHelper target], [param:SkeletonHelper source], [param:AnimationClip clip], [param:Object options] )</h3>
  40. <p></p>
  41. <h2>Source</h2>
  42. <p>
  43. [link:https://github.com/mrdoob/three.js/blob/master/examples/js/utils/SkeletonUtils.js examples/js/utils/SkeletonUtils.js]
  44. </p>
  45. </body>
  46. </html>