Capítulo 330 de 859
A helper object to assist with visualizing a Skeleton.
const helper = new THREE.SkeletonHelper( skinnedMesh );
scene.add( helper );
Constructor
| Signature |
|---|
new SkeletonHelper( object : Object3D ) |
Properties
| Property | Description |
|---|---|
.bones : Array.<Bone> | The list of bones that the helper visualizes. |
.isSkeletonHelper : boolean (readonly) | This flag can be used for type testing. |
.root : Object3D | The object being visualized. |
Methods
| Method | Description |
|---|---|
.dispose() | Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app. |
.setColors( color1 : Color, color2 : Color ) : SkeletonHelper | Defines the colors of the helper. |