public ColourFunction Clone() { CFGrid clone = new CFGrid(); clone._Colour1 = new Colour(_Colour1); clone._Colour2 = new Colour(_Colour2); clone._Scale = _Scale; clone._Ratio = _Ratio; clone._IsCheckerboard = _IsCheckerboard; return clone; }
public ColourFunction Clone() { CFGrid clone = new CFGrid(); clone._Colour1 = new Colour(_Colour1); clone._Colour2 = new Colour(_Colour2); clone._Scale = _Scale; clone._Ratio = _Ratio; clone._IsCheckerboard = _IsCheckerboard; return(clone); }