public SPAnimClip(string name, AnimationClip clip) { _name = name; _clip = clip; _masks = new MaskCollection(); _timeSupplier = new SPTime(); //_firstFrame = 0; //_lastFrame = -1; }
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); } }
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); } }