You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.5 KiB
HTML
68 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<base href="../../../" />
|
|
<script src="page.js"></script>
|
|
<link type="text/css" rel="stylesheet" href="page.css" />
|
|
</head>
|
|
<body>
|
|
[page:Object3D] → [page:Line] → [page:LineSegments] →
|
|
|
|
<h1>[name]</h1>
|
|
|
|
<p class="desc">
|
|
用来模拟骨骼 [page:Skeleton Skeleton] 的辅助对象.
|
|
该辅助对象使用 [page:LineBasicMaterial LineBasicMaterial] 材质.
|
|
</p>
|
|
|
|
<h2>代码示例</h2>
|
|
|
|
<code>
|
|
const helper = new THREE.SkeletonHelper( skinnedMesh );
|
|
scene.add( helper );
|
|
</code>
|
|
|
|
<h2>例子</h2>
|
|
|
|
<p>
|
|
[example:webgl_animation_skinning_blending WebGL / animation / skinning / blending]<br />
|
|
[example:webgl_animation_skinning_morph WebGL / animation / skinning / morph]<br />
|
|
[example:webgl_loader_bvh WebGL / loader / bvh ]
|
|
</p>
|
|
|
|
<h2>构造函数</h2>
|
|
|
|
|
|
<h3>[name]( [param:Object3D object] )</h3>
|
|
<p>
|
|
object -- 通常是 [page:SkinnedMesh]的实例. 实际上, 只要子级存在[page:Bone Bone]s的任何 [page:Object3D] 的实例都可以,(参考 [page:Object3D.children]).
|
|
</p>
|
|
|
|
|
|
<h2>属性</h2>
|
|
|
|
<h3>[property:Array bones]</h3>
|
|
<p>
|
|
辅助对象使用 [page:Line Lines] 渲染的骨数组.
|
|
</p>
|
|
|
|
<h3>[property:Boolean isSkeletonHelper]</h3>
|
|
<p>
|
|
只读属性,用以检查该给定对象是否是 [name].
|
|
</p>
|
|
|
|
<h3>[property:Object3D root]</h3>
|
|
<p>
|
|
构造函数传入的对象.
|
|
</p>
|
|
|
|
|
|
<h2>源码</h2>
|
|
|
|
<p>
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
</p>
|
|
</body>
|
|
</html>
|