setMorphTargetWeights method
Set the weights for all morph targets in entity
to weights
.
Note that weights
must contain values for ALL morph targets, but no exception will be thrown if you don't do so (you'll just get incorrect results).
If you only want to set one value, set all others to zero (check getMorphTargetNames if you need the get a list of all morph targets).
IMPORTANT - this accepts the actual ThermionEntity with the relevant morph targets (unlike getMorphTargetNames, which uses the parent entity and the child mesh name).
Use getChildEntityByName
if you are setting the weights for a child mesh.
Implementation
@override
Future setMorphTargetWeights(ThermionEntity entity, List<double> weights) {
// TODO: implement setMorphTargetWeights
throw UnimplementedError();
}