/// <summary> /// Returns an uninitialised deep copy of the Emitter. /// </summary> /// <returns>A deep copy of the Emitter.</returns> public override Emitter DeepCopy() { Emitter copy = new TextureEmitter { ApplyPixelColours = this.ApplyPixelColours, Scale = this.Scale, Texture = this.Texture, Threshold = this.Threshold }; base.CopyBaseFields(copy); return(copy); }
/// <summary> /// Returns an uninitialised deep copy of the Emitter. /// </summary> /// <returns>A deep copy of the Emitter.</returns> public override Emitter DeepCopy() { Emitter copy = new TextureEmitter { ApplyPixelColours = this.ApplyPixelColours, Scale = this.Scale, Texture = this.Texture, Threshold = this.Threshold }; base.CopyBaseFields(copy); return copy; }