Inheritance: EventDispatcher → Object3D → Mesh →
A special type of an animated mesh with a more advanced interface for animation playback. Unlike MorphAnimMesh. It allows to playback more than one morph animation at the same time but without fading options.
MorphBlendMesh is an addon, and must be imported explicitly, see Installation#Addons.
import { MorphBlendMesh } from 'three/addons/misc/MorphBlendMesh.js';
Constructs a new morph blend mesh.
geometry
The mesh geometry.
material
The mesh material.
A list of animations.
A dictionary of animations.
Automatically creates animations based on the values in Mesh#morphTargetDictionary.
fps
The FPS of all animations.
Creates a new animation.
name
The animation name.
start
The start time.
end
The end time.
fps
The FPS.
Returns the duration for the defined animation.
name
The animation name.
Returns: The duration.
Returns the time for the defined animation.
name
The animation name.
Returns: The time.
Plays the defined animation.
name
The animation name.
Sets the animation playback direction to "backward" for the defined animation.
name
The animation name.
Sets the animation playback direction to "forward" for the defined animation.
name
The animation name.
Sets the duration to the given value for the defined animation.
name
The animation name.
duration
The duration to set.
Sets the FPS to the given value for the defined animation.
name
The animation name.
fps
The FPS to set.
Sets the time to the given value for the defined animation.
name
The animation name.
time
The time to set.
Sets the weight to the given value for the defined animation.
name
The animation name.
weight
The weight to set.
Stops the defined animation.
name
The animation name.
Updates the animations of the mesh.
delta
The delta time in seconds.