2
0

SkeletonHelper.html 1.5 KB

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