AnimationClip constructor
AnimationClip(
- String name, [
- num duration = -1,
- List<
KeyframeTrack> tracks = const <KeyframeTrack>[], - int blendMode = NormalAnimationBlendMode,
Implementation
AnimationClip(this.name,
[this.duration = -1, this.tracks = const <KeyframeTrack>[], this.blendMode = NormalAnimationBlendMode]) {
uuid = MathUtils.generateUUID();
// this means it should figure out its duration by scanning the tracks
if (duration < 0) {
resetDuration();
}
}