#include<kfbxgloballightsettings.h>
List of all members.
Detailed Description
This class contains functions for accessing global light settings.
Definition at line59of filekfbxgloballightsettings.h.
Member Enumeration Documentation
Member Function Documentation
void SetAmbientColor | ( | KFbxColor | pAmbientColor | ) | |
Set ambient color.
- Parameters:
| pAmbientColor | The ambient color to set. |
Get ambient color.
- Returns:
- The ambient color.
void SetFogEnable | ( | bool | pEnable | ) | |
Enable or disable the fog.
- Parameters:
| pEnable | Set totrue to enable the fog option.false disables the fog option. |
Get the current state of the fog option.
- Returns:
true
if fog is enabled,false
otherwise.
Set the fog color.
- Parameters:
Get the fog color.
- Returns:
- The fog color.
Set the fog mode.
- Parameters:
Get the fog mode.
- Returns:
- The currently set fog mode.
void SetFogDensity | ( | double | pDensity | ) | |
Set the fog density.
- Parameters:
| pDensity | The density of the fog. Can be any double value, however it is possible that other sections of FBX SDK may clamp values to reasonable values. |
Get the fog density.
- Returns:
- The currently set fog density.
void SetFogStart | ( | double | pStart | ) | |
Set the distance from the view where the fog starts.
- Parameters:
| pStart | Distance where the fog starts. |
Get the distance from the view where the fog starts.
- Returns:
- The distance from the view where the fog starts.
void SetFogEnd | ( | double | pEnd | ) | |
Set the distance from the view where the fog ends.
- Parameters:
| pEnd | Distance where the fog ends. |
Get the distance from the view where the fog ends.
- Returns:
- The distance from the view where the fog ends.
void SetShadowEnable | ( | bool | pShadowEnable | ) | |
Enable or disable the shadow planes display.
- Parameters:
| pShadowEnable | Set totrue to display shadow planes in the scene. |
Get the current state of the ShadowEnable flag.
- Returns:
true
if shadow planes are set to be displayed in the scene.
void SetShadowIntensity | ( | double | pShadowIntensity | ) | |
Set the shadow intensity applied to all shadow planes.
- Parameters:
| pShadowIntensity | Intensity applied to all the shadow planes. |
double GetShadowIntensity | ( | | ) | |
Get the shadow intensity applied to all shadow planes.
- Returns:
- The intensity applied to all shadow planes in the scene.
int GetShadowPlaneCount | ( | | ) | |
Get the number of shadow planes.
- Returns:
- Number of shadow planes.
KFbxShadowPlane* GetShadowPlane | ( | int | pIndex | ) | |
Get a shadow plane.
- Parameters:
| pIndex | Index of shadow plane. |
- Returns:
- Pointer the shadow plane, or
NULL
if the index is out of range.
void AddShadowPlane | ( | KFbxShadowPlane | pShadowPlane | ) | |
Add a shadow plane.
- Parameters:
| pShadowPlane | The shadow plane to add. |
void RemoveAllShadowPlanes | ( | | ) | |
Remove all shadow planes.
Retrieve error object.
- Returns:
- Reference to error object.
Get last error code.
- Returns:
- Last error code.
const char* GetLastErrorString | ( | | ) | const |
Get last error string.
- Returns:
- Textual description of the last error.
void RestoreDefaultSettings | ( | | ) | |
Restore default settings.
Assignment operator.
- Parameters: