Convert colors to different formats, interpolate, invert, ...
More...
|
static bool | EqualsIgnoreAlpha (this Color color1, Color color2) |
| Compares two colors ignoring the alpha channel and the name More...
|
|
static Color | Interpolate (float factor, Color color1, Color color2) |
| Interpolates between two colors More...
|
|
Convert colors to different formats, interpolate, invert, ...
◆ EqualsIgnoreAlpha()
static bool OmegaEngine.ColorUtils.EqualsIgnoreAlpha |
( |
this Color |
color1, |
|
|
Color |
color2 |
|
) |
| |
|
static |
Compares two colors ignoring the alpha channel and the name
◆ Interpolate()
static Color OmegaEngine.ColorUtils.Interpolate |
( |
float |
factor, |
|
|
Color |
color1, |
|
|
Color |
color2 |
|
) |
| |
|
inlinestatic |
Interpolates between two colors
- Parameters
-
factor | The proportion of the two colors between 0 (only first color) and 1 (only second color) |
color1 | The first color value |
color2 | The second color value |
The documentation for this class was generated from the following file:
- OmegaEngine/ColorUtils.cs