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.

Example

var root = new v3d.Bone(); var 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

Used to check whether this or derived classes are bones. Default is true.

You should not change this, as it used internally for optimisation.

.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.