Bone.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. [page:Object3D] &rarr;
  12. <h1>[name]</h1>
  13. <p class="desc">
  14. A bone which is part of a [page:Skeleton]. The skeleton in turn is used by the [page:SkinnedMesh].
  15. Bones are almost identical to a blank [page:Object3D].
  16. </p>
  17. <h3>Example</h3>
  18. <code>
  19. var root = new THREE.Bone();
  20. var child = new THREE.Bone();
  21. root.add( child );
  22. child.position.y = 5;
  23. </code>
  24. <h2>Constructor</h2>
  25. <h3>[name]( )</h3>
  26. <p>
  27. Creates a new [name].
  28. </p>
  29. <h2>Properties</h2>
  30. <p>See the base [page:Object3D] class for common properties.</p>
  31. <h3>[property:Boolean isBone]</h3>
  32. <p>
  33. Used to check whether this or derived classes are bones. Default is *true*.<br /><br />
  34. You should not change this, as it used internally for optimisation.
  35. </p>
  36. <h3>[property:String type]</h3>
  37. <p>Set to 'Bone', this can be used to find all Bones in a scene.</p>
  38. <h2>Methods</h2>
  39. <p>See the base [page:Object3D] class for common methods.</p>
  40. <h2>Source</h2>
  41. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  42. </body>
  43. </html>