/// Clones the instance. public override e2dPreset Clone() { e2dCurvePerlinPreset result = new e2dCurvePerlinPreset(); result.Copy(this); return(result); }
public override e2dPreset Clone() { e2dCurvePerlinPreset e2dCurvePerlinPreset = new e2dCurvePerlinPreset(); e2dCurvePerlinPreset.Copy(this); return(e2dCurvePerlinPreset); }
public override void Copy(e2dPreset other) { e2dCurvePerlinPreset e2dCurvePerlinPreset = (e2dCurvePerlinPreset)other; this.octaves = e2dCurvePerlinPreset.octaves; this.frequencyPerUnit = e2dCurvePerlinPreset.frequencyPerUnit; this.persistence = e2dCurvePerlinPreset.persistence; }
/// Copies data from another preset. Assumes both presets are of the same kind. public override void Copy(e2dPreset other) { e2dCurvePerlinPreset preset = (e2dCurvePerlinPreset)other; octaves = preset.octaves; frequencyPerUnit = preset.frequencyPerUnit; persistence = preset.persistence; }
/// Clones the instance. public override e2dPreset Clone() { e2dCurvePerlinPreset result = new e2dCurvePerlinPreset(); result.Copy(this); return result; }