#include <sgColor.h>
Public Member Functions | |
| sgFColorA (float r_=0.0f, float g_=0.0f, float b_=0.0f, float a_=1.0f) | |
| bool | operator== (const sgFColorA &other) |
Public Attributes | |
| float | a |
Floating point colorA class. Stores a color with alpha channel with values between 0 and 1 and provides functionality for it.
| sgFColorA::sgFColorA | ( | float | r_ = 0.0f, |
|
| float | g_ = 0.0f, |
|||
| float | b_ = 0.0f, |
|||
| float | a_ = 1.0f | |||
| ) |
Constructor. Initializes a new instance.
| r_ | the r value | |
| g_ | the g value | |
| b_ | the b value | |
| a_ | the a value |
| bool sgFColorA::operator== | ( | const sgFColorA & | other | ) |
Equal. Checks if two instances equal each other.
| float sgFColorA::a |
Alpha. The colors alpha component.
1.6.3