Example #1
0
 public bool Equals(AnimationTrack p)
 {
     return(_track_name.Equals(p._track_name) &&
            _animationDuration == p._animationDuration &&
            _shift == p._shift &&
            _animations.Equals(p._animations));
 }
Example #2
0
 public void AddTrack(AnimationTrack track)
 {
     if (_tracks.ContainsKey(track.GetName()))
     {
         _tracks[track.GetName()] = track;
     }
     else
     {
         _tracks.Add(track.GetName(), track);
     }
 }
Example #3
0
 public void AddTrack(string track_name, AnimationTrack track)
 {
     if (_tracks.ContainsKey(track_name))
     {
         _tracks[track_name] = track;
     }
     else
     {
         _tracks.Add(track_name, track);
     }
 }
Example #4
0
        public AnimationMix AddTrack(string track_name, AnimationTrack track)
        {
            if (_tracks.ContainsKey(track_name))
            {
                _tracks[track_name] = track;
            }
            else
            {
                _tracks.Add(track_name, track);
            }

            return(this);
        }
Example #5
0
        public AnimationMix AddTrack(AnimationTrack track)
        {
            if (_tracks.ContainsKey(track.GetName()))
            {
                _tracks[track.GetName()] = track;
            }
            else
            {
                _tracks.Add(track.GetName(), track);
            }

            return(this);
        }