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 64
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../../" />
<script src="list.js"></script>
<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">
A helper object to assist with visualizing a [page:Skeleton Skeleton].
The helper is renderered using a [page:LineBasicMaterial LineBasicMaterial].
</p>
<h2>Example</h2>
[example:webgl_animation_skinning_blending animation / skinning / blending]<br />
[example:webgl_animation_skinning_morph animation / skinning / morph]<br />
[example:webgl_loader_bvh loader / bvh ]
<code>
var helper = new THREE.SkeletonHelper( mesh );
helper.material.linewidth = 3;
scene.add( helper );
</code>
<h2>Constructor</h2>
<h3>[name]( object )</h3>
<p>
object -- can be any object that has an array of [page:Bone Bone]s as a sub object. <br />
For example, a [page:Skeleton Skeleton] or a [page:SkinnedMesh SkinnedMesh].
</p>
<h2>Properties</h2>
<h3>[property:Array bones]</h3>
<p>
The list of bones that the helper renders as [page:Line Lines].
</p>
<h3>[property:Object root]</h3>
<p>
The object passed in the constructor.
</p>
<h2>Source</h2>
<p>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</p>
</body>
</html>
|