[name]

Utility functions for [page:Skeleton], [page:SkinnedMesh], and [page:Bone] manipulation.

Import

[name] is an add-on, and must be imported explicitly. See [link:#manual/introduction/Installation Installation / Addons].

import * as SkeletonUtils from 'three/addons/utils/SkeletonUtils.js';

Methods

[method:Object3D clone]( [param:Object3D object] )

Clones the given object and its descendants, ensuring that any [page:SkinnedMesh] instances are correctly associated with their bones. Bones are also cloned, and must be descendants of the object passed to this method. Other data, like geometries and materials, are reused by reference.

[method:undefined retarget]( [param:SkeletonHelper target], [param:SkeletonHelper source], [param:Object options] )

[method:AnimationClip retargetClip]( [param:SkeletonHelper target], [param:SkeletonHelper source], [param:AnimationClip clip], [param:Object options] )

Source

[link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/utils/SkeletonUtils.js examples/jsm/utils/SkeletonUtils.js]