#include <kfbxcolor.h>
Definition at line 53 of file kfbxcolor.h.
double | mRed |
Valid range is from 0.0 to 1.0. | |
double | mGreen |
Valid range is from 0.0 to 1.0. | |
double | mBlue |
Valid range is from 0.0 to 1.0. | |
double | mAlpha |
Valid range is from 0.0 to 1.0. | |
Operators | |
KFbxColor & | operator= (const KFbxColor &pColor) |
Assignment operator. | |
bool | operator== (const KFbxColor &pColor) |
Equality operator. | |
bool | operator!= (const KFbxColor &pColor) |
Inequality operator. | |
Public Member Functions | |
KFbxColor () | |
Constructor. | |
KFbxColor (double pRed, double pGreen, double pBlue, double pAlpha=1.0) | |
Constructor. | |
~KFbxColor () | |
Destructor. | |
void | Set (double pRed, double pGreen, double pBlue, double pAlpha=1.0) |
Re-initialize the color object with their new values. | |
bool | IsValid () |
Indicate if all the members in the color objects are within their valid range. |
KFbxColor | ( | ) |
Constructor.
KFbxColor | ( | double | pRed, | |
double | pGreen, | |||
double | pBlue, | |||
double | pAlpha = 1.0 | |||
) |
Constructor.
pRed | The Red component value. | |
pGreen | The Green component value. | |
pBlue | The Blue component value. | |
pAlpha | The alpha value of the color. |
~KFbxColor | ( | ) |
Destructor.
void Set | ( | double | pRed, | |
double | pGreen, | |||
double | pBlue, | |||
double | pAlpha = 1.0 | |||
) |
Re-initialize the color object with their new values.
pRed | The Red component value. | |
pGreen | The Green component value. | |
pBlue | The Blue component value. | |
pAlpha | The alpha value of the color. |
bool IsValid | ( | ) |
Indicate if all the members in the color objects are within their valid range.
true
if all the members are within their valid range. bool operator== | ( | const KFbxColor & | pColor | ) |
Equality operator.
bool operator!= | ( | const KFbxColor & | pColor | ) |
Inequality operator.
double mRed |
double mGreen |
double mBlue |
double mAlpha |