Arithmetic.Adding
Extension Method in Arithmetic
Declaration
public static Color Adding(this Color color, Color other, bool addAlpha = true)
Description
Returns the result of adding the components of another color to the current color. Clamps the values in the range [0..1].
Parameters
color | The color being added to. |
other | The color to add. |
addAlpha | True to add the alpha components, otherwise it is left unmodified (default=true). |
Returns
Color | The new color with the added components. |