Inheritance: EventDispatcher → Object3D → Mesh →
A special type of an animated mesh with a simple interface for animation playback. It allows to playback just one animation without any transitions or fading between animation changes.
MorphAnimMesh is an addon, and must be imported explicitly, see Installation#Addons.
import { MorphAnimMesh } from 'three/addons/misc/MorphAnimMesh.js';
Constructs a new morph anim mesh.
geometry
The mesh geometry.
material
The mesh material.
The current active animation action.
Default is null.
The internal animation mixer.
Plays the defined animation clip. The implementation assumes the animation clips are stored in Object3D#animations or the geometry.
label
The name of the animation clip.
fps
The FPS of the animation clip.
Sets the animation playback direction to "backward".
Sets the animation playback direction to "forward".
Updates the animations of the mesh. Must be called inside the animation loop.
delta
The delta time in seconds.