forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSkeletonHelper.html
More file actions
63 lines (47 loc) · 1.44 KB
/
SkeletonHelper.html
File metadata and controls
63 lines (47 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!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 -- Usually an instance of [page:SkinnedMesh]. However, any instance of [page:Object3D] can be used if it represents
a hierarchy of [page:Bone Bone]s (via [page:Object3D.children]).
</p>
<h2>属性</h2>
<h3>[property:Array bones]</h3>
<p>
辅助对象使用 [page:Line Lines] 渲染的骨数组.
</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>