Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public bool Equals(EmissionDefinition other)
 {
     return(other != null &&
            EmissionColor.Equals(other.EmissionColor) &&
            EqualityComparer <TextureInfo> .Default.Equals(EmissionMultiplyTexture, other.EmissionMultiplyTexture));
 }