Math::ColorRGB struct

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

Constructors, destructors, conversion operators

ColorRGB(float r, float g, float b)
ColorRGB(Color color)
ColorRGB()

Public functions

auto Set(float r, float g, float b) -> ColorRGB&
auto ToIntColor() const -> Color
Returns the integer representation of the given color (in the form of a Color value).
auto operator==(const ColorRGB& b) const -> bool
auto operator!=(const ColorRGB& b) const -> bool

Public variables

float r
float g
float b