Capítulo 726 de 859

Chapter 726: SkeletonUtils

Core Idea

Reference for SkeletonUtils.

Code Examples

import * as SkeletonUtils from 'three/addons/utils/SkeletonUtils.js';
  • What it demonstrates: Typical usage of SkeletonUtils.

Reference Tables

Methods

MethodDescription
.clone( source : Object3D ) : Object3D (inner)Clones the given 3D 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 passe…
`.retarget( target : Object3DSkeleton, source : Object3D
`.retargetClip( target : Object3D, source : Object3DSkeleton, clip : AnimationClip, options : module:SkeletonUtils~RetargetOptions ) : AnimationClip (inner)`

Key Takeaways

  1. Key methods: clone, retarget, retargetClip.

Connects To