Skeleton Class
Use an array of bones to create a skeleton that can be used by a SkinnedMesh.
Methods
fromJSON
(
static
-
data
-
object
-
resources
Parse skeleton from JSON data, for a specific object.
Parameters:
-
data
ObjectJSON encoded data.
-
object
Object3DTarget object that has this skeleton.
-
resources
ResourceContainerResource container to read resouce data.
Properties
boneInverses
Array
An array of Matrix4s that represent the inverse of the matrixWorld of the individual bones.
Use the supplied bone inverses or calculate the inverses.
boneMatrices
ArrayBuffer
The array buffer holding the bone data when using a vertex texture.
bones
Array
The array of bones. Note this is a copy of the original array, not a reference, so you can modify the original array without effecting this one.