SkeletonHelper.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. [page:Object3D] &rarr; [page:Line] &rarr; [page:LineSegments] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc">
  13. 用来模拟骨骼 [page:Skeleton Skeleton] 的辅助对象.
  14. 该辅助对象使用 [page:LineBasicMaterial LineBasicMaterial] 材质.
  15. </p>
  16. <h2>代码示例</h2>
  17. <code>
  18. const helper = new THREE.SkeletonHelper( skinnedMesh );
  19. scene.add( helper );
  20. </code>
  21. <h2>例子</h2>
  22. <p>
  23. [example:webgl_animation_skinning_blending WebGL / animation / skinning / blending]<br />
  24. [example:webgl_animation_skinning_morph WebGL / animation / skinning / morph]<br />
  25. [example:webgl_loader_bvh WebGL / loader / bvh ]
  26. </p>
  27. <h2>构造函数</h2>
  28. <h3>[name]( [param:Object3D object] )</h3>
  29. <p>
  30. object -- Usually an instance of [page:SkinnedMesh]. However, any instance of [page:Object3D] can be used if it represents
  31. a hierarchy of [page:Bone Bone]s (via [page:Object3D.children]).
  32. </p>
  33. <h2>属性</h2>
  34. <h3>[property:Array bones]</h3>
  35. <p>
  36. 辅助对象使用 [page:Line Lines] 渲染的骨数组.
  37. </p>
  38. <h3>[property:Boolean isSkeletonHelper]</h3>
  39. <p>
  40. Read-only flag to check if a given object is of type [name].
  41. </p>
  42. <h3>[property:Object3D root]</h3>
  43. <p>
  44. 构造函数传入的对象.
  45. </p>
  46. <h2>源码</h2>
  47. <p>
  48. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  49. </p>
  50. </body>
  51. </html>