class
#include <FAST/Data/Color.hpp>
Color
Contents
Public static functions
- static auto fromString(std::string str) -> Color
- static auto Null() -> Color
- static auto Red() -> Color
- static auto Green() -> Color
- static auto Blue() -> Color
- static auto White() -> Color
- static auto Black() -> Color
- static auto Yellow() -> Color
- static auto Magenta() -> Color
- static auto Cyan() -> Color
- static auto Brown() -> Color
Constructors, destructors, conversion operators
Public functions
- auto isNull() const -> bool
- auto hasOpacity() const -> bool
- auto asVector() const -> Vector3f
- auto getRedValue() const -> float
- auto getGreenValue() const -> float
- auto getBlueValue() const -> float
- auto getOpacity() const -> float
- auto getName() const -> std::string
Function documentation
bool fast:: Color:: isNull() const
Whether the color is set or not