Arithmetic.Subtract
Extension Method in Arithmetic
Declaration
public static void Subtract(this ref Color color, Color other, bool subtractAlpha = true)
Description
Subtracts the components of another color from the current color. Clamps the values in the range [0..1].
Parameters
color | The color being subtracted from. |
other | The color to subtract. |
subtractAlpha | True to subtract the alpha components, otherwise it is left unmodified (default=true). |