/// <summary> /// Returns an unitialised deep copy of the Emitter. /// </summary> /// <returns>A deep copy of the Emitter.</returns> public override Emitter DeepCopy() { MaskEmitter clone = new MaskEmitter { Mask = (byte[][])this.Mask.Clone(), Threshold = this.Threshold, Width = this.Width, Height = this.Height, }; base.CopyBaseFields(clone); return(clone); }
/// <summary> /// Returns an unitialised deep copy of the Emitter. /// </summary> /// <returns>A deep copy of the Emitter.</returns> public override Emitter DeepCopy() { MaskEmitter clone = new MaskEmitter { Mask = (byte[][])this.Mask.Clone(), Threshold = this.Threshold, Width = this.Width, Height = this.Height, }; base.CopyBaseFields(clone); return clone; }