diff --git a/lib/animations/animation_data.dart b/lib/animations/animation_data.dart index 04a860eb..76fc715c 100644 --- a/lib/animations/animation_data.dart +++ b/lib/animations/animation_data.dart @@ -9,13 +9,13 @@ import 'package:vector_math/vector_math_64.dart'; /// [morphTargets] must be some subset of the actual morph targets under [mesh] (though the order of these does not need to match). /// class MorphAnimationData { - final String meshName; + final List meshNames; final List morphTargets; final List data; MorphAnimationData( - this.meshName, this.data, this.morphTargets, this.frameLengthInMs) { + this.meshNames, this.data, this.morphTargets, this.frameLengthInMs) { assert(data.length == morphTargets.length * numFrames); }