OmegaEngine API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Static Public Member Functions | List of all members
OmegaEngine.ColorUtils Class Reference

Convert colors to different formats, interpolate, invert, ... More...

Static Public Member Functions

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...
 

Detailed Description

Convert colors to different formats, interpolate, invert, ...

Member Function Documentation

static bool OmegaEngine.ColorUtils.EqualsIgnoreAlpha ( this Color  color1,
Color  color2 
)
static

Compares two colors ignoring the alpha channel and the name

static Color OmegaEngine.ColorUtils.Interpolate ( float  factor,
Color  color1,
Color  color2 
)
inlinestatic

Interpolates between two colors

Parameters
factorThe proportion of the two colors between 0 (only first color) and 1 (only second color)
color1The first color value
color2The second color value

The documentation for this class was generated from the following file: