Object3DLineLineSegments

SkeletonHelper

A helper object to assist with visualizing a Skeleton. The helper is rendered using a LineBasicMaterial.

Code Example

const helper = new v3d.SkeletonHelper(skinnedMesh); scene.add(helper);

Examples

WebGL / animation / skinning / blending
WebGL / animation / skinning / morph
WebGL / loader / bvh

Constructor

SkeletonHelper(object : Object3D)

object — Usually an instance of SkinnedMesh. However, any instance of Object3D can be used if it represents a hierarchy of Bones (via Object3D.children).

Properties

.bones : Array

The list of bones that the helper renders as Lines.

.isSkeletonHelper : Boolean

Read-only flag to check if a given object is of type SkeletonHelper.

.root : Object3D

The object passed in the constructor.

Methods

See the base LineSegments class for common methods.

.dispose()

Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.

Source

For more info on how to obtain the source code of this module see this page.