setMorphAnimationData method
Construct animation(s) for every entity under asset
. If targetMeshNames
is provided, only entities with matching names will be animated.
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(MorphAnimationData animation,
{List<String>? targetMeshNames}) {
throw UnimplementedError();
}