Constructor
new SkeletonHelper( object : Object3D )
Constructs a new skeleton helper.
| object |
Usually an instance of SkinnedMesh. However, any 3D object can be used if it represents a hierarchy of bones (see Bone). |
Properties
.isSkeletonHelper : boolean (readonly)
This flag can be used for type testing.
Default is true.
Methods
.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.
| color1 |
The first line color for each bone. |
| color2 |
The second line color for each bone. |
- Returns: A reference to this helper.