Object3D

Bone

A bone which is part of a Skeleton. The skeleton in turn is used by the SkinnedMesh. Bones are almost identical to a blank Object3D.

Code Example

const root = new v3d.Bone(); const child = new v3d.Bone(); root.add(child); child.position.y = 5;

Constructor

Bone()

Creates a new Bone.

Properties

See the base Object3D class for common properties.

.isBone : Boolean

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

.type : String

Set to 'Bone', this can be used to find all Bones in a scene.

Methods

See the base Object3D class for common methods.

Source

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