Arithmetic.Add
Extension Method in Arithmetic
Declaration
public static void Add(this ref Color color, Color other, bool addAlpha = true)
Description
Adds 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). |