setMorphAnimationData abstract method
Future
setMorphAnimationData(
- ThermionEntity entity,
- MorphAnimationData animation, {
- List<
String> ? targetMeshNames,
Animate the morph targets in entity
. See MorphTargetAnimation
for an explanation as to how to construct the animation frame data.
This method will check the morph target names specified in animation
against the morph target names that actually exist exist under meshName
in entity
,
throwing an exception if any cannot be found.
It is permissible for animation
to omit any targets that do exist under meshName
; these simply won't be animated.
Implementation
Future setMorphAnimationData(
ThermionEntity entity, MorphAnimationData animation,
{List<String>? targetMeshNames});