示例#1
0
        //-----------------------------------------------------------------------

        public AnimationTrack CreateTrack(string name)
        {
            AnimationTrack track = new AnimationTrack(name, this);

            tracks.Add(track);
            return(track);
        }
示例#2
0
        public AnimationTrack GetTrackByName(string name)
        {
            for (int i = 0; i < tracks.Count; i++)
            {
                AnimationTrack track = tracks[i];
                if (track.GetName() == name)
                {
                    return(track);
                }
            }

            return(null);
        }
示例#3
0
 //-----------------------------------------------------------------------
 public AnimationTrack CreateTrack(string name)
 {
     AnimationTrack track = new AnimationTrack(name, this);
     tracks.Add(track);
     return track;
 }