public SPAnimClip(string name)
 {
     _name         = name;
     _clip         = null;
     _masks        = new MaskCollection();
     _timeSupplier = new SPTime();
     //_firstFrame = 0;
     //_lastFrame = -1;
 }
 public SPAnimClip(string name, AnimationClip clip, ITimeSupplier timeSupplier)
 {
     _name         = name;
     _clip         = clip;
     _masks        = new MaskCollection();
     _timeSupplier = new SPTime(timeSupplier);
     //_firstFrame = 0;
     //_lastFrame = -1;
 }
Beispiel #3
0
 public void AddRange(MaskCollection coll)
 {
     for (int i = 0; i < coll._masks.Count; i++)
     {
         this.Add(coll._masks[i]);
     }
     if (this.Changed != null)
     {
         this.Changed(this, System.EventArgs.Empty);
     }
 }
Beispiel #4
0
 public void Copy(MaskCollection coll)
 {
     this.SilentClear();
     for (int i = 0; i < coll._masks.Count; i++)
     {
         this.Add(coll._masks[i]);
     }
     if (this.Changed != null)
     {
         this.Changed(this, System.EventArgs.Empty);
     }
 }