public bool Equals(RimDefinition other) { return(other != null && RimColor.Equals(other.RimColor) && EqualityComparer <TextureInfo> .Default.Equals(RimMultiplyTexture, other.RimMultiplyTexture) && RimLightingMixValue == other.RimLightingMixValue && RimFresnelPowerValue == other.RimFresnelPowerValue && RimLiftValue == other.RimLiftValue); }
public bool Equals(ColorDefinition other) { return(other != null && LitColor.Equals(other.LitColor) && EqualityComparer <TextureInfo> .Default.Equals(LitMultiplyTexture, other.LitMultiplyTexture) && ShadeColor.Equals(other.ShadeColor) && EqualityComparer <TextureInfo> .Default.Equals(ShadeMultiplyTexture, other.ShadeMultiplyTexture) && CutoutThresholdValue == other.CutoutThresholdValue); }
public bool Equals(EmissionDefinition other) { return(other != null && EmissionColor.Equals(other.EmissionColor) && EqualityComparer <TextureInfo> .Default.Equals(EmissionMultiplyTexture, other.EmissionMultiplyTexture)); }