public override bool Equals(object obj) { if (!(obj is MyNewLoddingSettings)) { return(false); } MyNewLoddingSettings theOther = (MyNewLoddingSettings)obj; if (GBuffer.Equals(theOther.GBuffer)) { return(false); } if (!CascadeDepths.Equals(theOther.CascadeDepths)) { return(false); } if (SingleDepth.Equals(theOther.SingleDepth)) { return(false); } if (Global.Equals(theOther.Global)) { return(false); } return(true); }
public void CopyFrom(MyNewLoddingSettings settings) { GBuffer = settings.GBuffer; CascadeDepths = settings.CascadeDepths; SingleDepth = settings.SingleDepth; Global = settings.Global; }