#include <fbxpropertytypes.h>
Class to represent colors in RGBA format using doubles.
- ExportScene03/main.cxx, ExportScene04/main.cxx, ImportScene/DisplayCamera.cxx, ImportScene/DisplayCommon.cxx, ImportScene/DisplayCommon.h, ImportScene/DisplayGenericInfo.cxx, ImportScene/DisplayLight.cxx, ImportScene/DisplayMarker.cxx, ImportScene/DisplayMaterial.cxx, ImportScene/DisplayUserProperties.cxx, Layers/main.cxx, Transformations/DisplayCommon.cxx, Transformations/DisplayCommon.h, UserProperties/main.cxx, ViewScene/SceneCache.cxx, and ViewScene/SceneCache.h.
Definition at line 61 of file fbxpropertytypes.h.
FbxColor |
( |
const double |
pRed, |
|
|
const double |
pGreen, |
|
|
const double |
pBlue, |
|
|
const 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. |
void Set |
( |
const double |
pRed, |
|
|
const double |
pGreen, |
|
|
const double |
pBlue, |
|
|
const 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. |
Indicate if all the members in the color objects are within their valid range.
- Returns
true
if all the members are within their valid range.
double& operator[] |
( |
int |
pIndex | ) |
|
Accessors.
- Parameters
-
pIndex | The index of the component to access. |
- Returns
- The reference to the indexed component.
const double& operator[] |
( |
int |
pIndex | ) |
const |
Accessors.
- Parameters
-
pIndex | The index of the component to access. |
- Returns
- The reference to the indexed component.
Assignment operator.
- Parameters
-
bool operator== |
( |
const FbxColor & |
pColor | ) |
const |
Equality operator.
- Parameters
-
- Returns
true
if equal, false
if unequal.
bool operator!= |
( |
const FbxColor & |
pColor | ) |
const |
Inequality operator.
- Parameters
-
- Returns
true
if unequal, false
if equal.
The documentation for this class was generated from the following file: