FbxGlobalLightSettings Class Reference
#include <fbxgloballightsettings.h>
This class contains functions for accessing global light settings.
Definition at line 30 of file fbxgloballightsettings.h.
Fog types.
Enumerator |
---|
eLinear |
|
eExponential |
Linear fog mode.
|
eExponentialSquareRoot |
Exponential fog mode.
Exponential square root fog mode.
|
Definition at line 82 of file fbxgloballightsettings.h.
void SetAmbientColor |
( |
FbxColor |
pAmbientColor | ) |
|
Sets the ambient color.
- Parameters
-
pAmbientColor | The ambient color to set. |
Returns the ambient color.
- Returns
- The ambient color.
void SetFogEnable |
( |
bool |
pEnable | ) |
|
Activates or disables the fog.
- Parameters
-
pEnable | Set to true to activate the fog option or set to false to disable the fog option. |
bool GetFogEnable |
( |
| ) |
const |
Returns the fog option's current state.
- Returns
True
if fog is activated, returns false
if fog is disabled.
Sets the fog color.
- Parameters
-
pColor | The fog color to be set. |
Returns the fog color.
- Returns
- The fog color.
Sets the fog mode.
- Parameters
-
pMode | The fog type to be set. |
Returns the fog mode.
- Returns
- The currently set fog mode.
void SetFogDensity |
( |
double |
pDensity | ) |
|
Sets the fog density.
- Parameters
-
pDensity | The fog density to be set. It can be any double value, however it can happen that other sections of FBX SDK may clamp values to reasonable values. |
double GetFogDensity |
( |
| ) |
const |
Returns the fog density.
- Returns
- The currently set fog density.
void SetFogStart |
( |
double |
pStart | ) |
|
Sets the distance from the view where the fog begins.
- Parameters
-
pStart | Distance where the fog begins. |
double GetFogStart |
( |
| ) |
const |
Returns the distance from the view where the fog begins.
- Returns
- The distance from the view where the fog begins.
void SetFogEnd |
( |
double |
pEnd | ) |
|
Sets the distance from the view where the fog ends.
- Parameters
-
pEnd | Distance where the fog ends. |
double GetFogEnd |
( |
| ) |
const |
Returns the distance from the view where the fog ends.
- Returns
- The distance from the view where the fog ends.
void SetShadowEnable |
( |
bool |
pShadowEnable | ) |
|
Activates or disables the display of shadow planes.
- Parameters
-
pShadowEnable | Set to true to display shadow planes in the scene. |
bool GetShadowEnable |
( |
| ) |
const |
Returns the current state of the shadow enable flag.
- Returns
True
if shadow planes are set to be displayed in the scene.
void SetShadowIntensity |
( |
double |
pShadowIntensity | ) |
|
Sets the shadow intensity that is applied to all shadow planes.
- Parameters
-
pShadowIntensity | Intensity applied to all the shadow planes. |
double GetShadowIntensity |
( |
| ) |
const |
Returns the shadow intensity applied to all shadow planes.
- Returns
- The intensity applied to all shadow planes in the scene.
int GetShadowPlaneCount |
( |
| ) |
const |
Returns the number of shadow planes.
- Returns
- Number of shadow planes.
Returns a shadow plane at the specified index.
- Parameters
-
pIndex | Shadow plane index. |
pStatus | The FbxStatus object to hold error codes. |
- Returns
- Pointer the shadow plane, or
NULL
if the index is out of range.
Adds a shadow plane.
- Parameters
-
pShadowPlane | The shadow plane to be added. |
void RemoveAllShadowPlanes |
( |
| ) |
|
Removes all shadow planes.
void RestoreDefaultSettings |
( |
| ) |
|
Restores default settings.
Assignment operator.
- Parameters
-
The documentation for this class was generated from the following file: