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