Bone.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <script src="../../list.js"></script>
  6. <script src="../../page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="../../page.css" />
  8. </head>
  9. <body>
  10. [page:Object3D] &rarr;
  11. <h1>[name]</h1>
  12. <div class="desc">A bone which is part of a SkinnedMesh.</div>
  13. <h2>Constructor</h2>
  14. <h3>[name]([page:SkinnedMesh belongsToSkin])</h3>
  15. <div>
  16. belongsToSkin -- An instance of [page:SkinnedMesh].
  17. </div>
  18. <div>
  19. This creates a new instance of a bone from the skin.
  20. </div>
  21. <h2>Properties</h2>
  22. <h3>.[page:Matrix4 skinMatrix]</h3>
  23. <div>
  24. The matrix of the bone.
  25. </div>
  26. <h3>.[page:SkinnedMesh skin]</h3>
  27. <div>
  28. The skin that contains this bone.
  29. </div>
  30. <h2>Methods</h2>
  31. <h3>.update([page:Matrix4 parentSkinMatrix], [page:boolean forceUpdate])</h3>
  32. <div>
  33. parentSkinMatrix -- the matrix of the parent bone.<br />
  34. forceUpdate -- force the update of the skinmatrix.
  35. </div>
  36. <div>
  37. This updates the matrix of the bone and the matrices of its children.
  38. </div>
  39. <h2>Source</h2>
  40. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  41. </body>
  42. </html>