IComponentModel<T>.Mix
Method in IComponentModel<T>
Declaration
T Mix(T other, float weight)
Description
Returns the result of mixing the color with another color using a weight between [0..1]. A weight of 0 results in the first color, and a weight of 1 results in the second color.
Parameters
other | The other color to mix. |
weight | The weight to mix with between [0..1] (default=0.5). |
Returns
T | The result of mixing the two colors. |