KFbxColor
#include<kfbxcolor.h>

List of all members.

Detailed Description

Simple class to hold RGBA values.

Definition at line53of filekfbxcolor.h.

double mRed
 name Public Members
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

KFbxColoroperator=(constKFbxColor&pColor)
 Assignment operator.
bool operator==(constKFbxColor&pColor)
 Equality operator.
bool operator!=(constKFbxColor&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.

Constructor&Destructor Documentation

KFbxColor( ) 

Constructor.

KFbxColor(double pRed,
double pGreen,
double pBlue,
double pAlpha=1.0 
)

Constructor.

Parameters:
pRed The Red component value.
pGreen The Green component value.
pBlue The Blue component value.
pAlpha The alpha value of the color.

~KFbxColor( ) 

Destructor.

Member Function Documentation

void Set(double pRed,
double pGreen,
double pBlue,
double pAlpha=1.0 
)

Re-initialize the color object with their new values.

Parameters:
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.

Returns:
trueif all the members are within their valid range.

KFbxColor&operator=(constKFbxColorpColor ) 

Assignment operator.

bool operator==(constKFbxColorpColor ) 

Equality operator.

bool operator!=(constKFbxColorpColor ) 

Inequality operator.

Member Data Documentation

doublemRed

name Public Members

Valid range is from 0.0 to 1.0.

Definition at line105of filekfbxcolor.h.

doublemGreen

Valid range is from 0.0 to 1.0.

Definition at line108of filekfbxcolor.h.

doublemBlue

Valid range is from 0.0 to 1.0.

Definition at line111of filekfbxcolor.h.

doublemAlpha

Valid range is from 0.0 to 1.0.

Definition at line114of filekfbxcolor.h.