struct
#include <Spore/MathUtils.h>
ColorRGBA Four float values in the range [0, 1] that represent a color (the red, green, blue and alpha components).
Contents
The alpha component defines the opacity of the color: 0 alpha is fully transparent, 1 alpha is fully opaque.
Constructors, destructors, conversion operators
Public functions
- auto Set(float r, float g, float b, float a) -> ColorRGBA&
- auto ToIntColor() const -> Color
- Returns the integer representation of the given color (in the form of a Color value).
- auto operator==(const ColorRGBA& b) const -> bool
- auto operator!=(const ColorRGBA& b) const -> bool