SkeletonUtils

Import

SkeletonUtils is an add-on, and must be imported explicitly. See Installation / Addons.

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

Methods

.clone ( object : Object3D ) : Object3D

Clones the given object and its descendants, ensuring that any 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.

.retarget ( target : SkeletonHelper, source : SkeletonHelper, options : Object ) : undefined

.retargetClip ( target : SkeletonHelper, source : SkeletonHelper, clip : AnimationClip, options : Object ) : AnimationClip

Leave a comment

Your email address will not be published. Required fields are marked *