Math::ColorRGBA struct

Four float values in the range [0, 1] that represent a color (the red, green, blue and alpha components).

The alpha component defines the opacity of the color: 0 alpha is fully transparent, 1 alpha is fully opaque.

Constructors, destructors, conversion operators

ColorRGBA(float r, float g, float b, float a)
ColorRGBA(ColorRGB color, float a)

Public functions

auto Set(float r, float g, float b, float a) -> ColorRGBA&
auto ToIntColor() -> Color
Returns the integer representation of the given color (in the form of a Color value).

Public variables

float r
float g
float b
float a