#include <kfbxgloballightsettings.h>
Definition at line 63 of file kfbxgloballightsettings.h.
Fog Option | |
| enum | EFogMode |
| Fog types. More... | |
| void | SetFogEnable (bool pEnable) |
| Enable or disable the fog. | |
| bool | GetFogEnable () |
| Get the current state of the fog option. | |
| void | SetFogColor (KFbxColor pColor) |
| Set the fog color. | |
| KFbxColor | GetFogColor () |
| Get the fog color. | |
| void | SetFogMode (EFogMode pMode) |
| Set the fog mode. | |
| EFogMode | GetFogMode () |
| Get the fog mode. | |
| void | SetFogDensity (double pDensity) |
| Set the fog density. | |
| double | GetFogDensity () |
| Get the fog density. | |
| void | SetFogStart (double pStart) |
| Set the distance from the view where the fog starts. | |
| double | GetFogStart () |
| Get the distance from the view where the fog starts. | |
| void | SetFogEnd (double pEnd) |
| Set the distance from the view where the fog ends. | |
| double | GetFogEnd () |
| Get the distance from the view where the fog ends. | |
Error Management | |
| enum | EError |
| Error identification. More... | |
| KError & | GetError () |
| Retrieve error object. | |
| EError | GetLastErrorID () |
| Get last error code. | |
| char * | GetLastErrorString () |
| Get last error string. | |
Ambient Color | |
| void | SetAmbientColor (KFbxColor pAmbientColor) |
| Set ambient color. | |
| KFbxColor | GetAmbientColor () |
| Get ambient color. | |
Shadow Planes | |
| The functions in this section are supported by FiLMBOX 2.7 and previous versions only.
FiLMBOX 3.0 supports shadow planes within a specific shader, which is not supported by the FBX SDK. | |
| void | SetShadowEnable (bool pShadowEnable) |
| Enable or disable the shadow planes display. | |
| bool | GetShadowEnable () |
| Get the current state of the ShadowEnable flag. | |
| void | SetShadowIntensity (double pShadowIntensity) |
| Set the shadow intensity applied to all shadow planes. | |
| double | GetShadowIntensity () |
| Get the shadow intensity applied to all shadow planes. | |
| int | GetShadowPlaneCount () |
| Get the number of shadow planes. | |
| KFbxShadowPlane * | GetShadowPlane (int pIndex) |
| Get a shadow plane. | |
| void | AddShadowPlane (KFbxShadowPlane pShadowPlane) |
| Add a shadow plane. | |
| void | RemoveAllShadowPlanes () |
| Remove all shadow planes. | |
Public Member Functions | |
| void | RestoreDefaultSettings () |
| Restore default settings. | |
| const KFbxGlobalLightSettings & | operator= (const KFbxGlobalLightSettings &pGlobalLightSettings) |
| Assignment operator. | |
Classes | |
| struct | KFbxShadowPlane |
| enum EFogMode |
Fog types.
Definition at line 118 of file kfbxgloballightsettings.h.
| enum EError |
Error identification.
Definition at line 248 of file kfbxgloballightsettings.h.
| void SetAmbientColor | ( | KFbxColor | pAmbientColor | ) |
Set ambient color.
| pAmbientColor | The ambient color to set. |
| KFbxColor GetAmbientColor | ( | ) |
Get ambient color.
| void SetFogEnable | ( | bool | pEnable | ) |
Enable or disable the fog.
| pEnable | Set to true to enable the fog option. false disables the fog option. |
| bool GetFogEnable | ( | ) |
Get the current state of the fog option.
true if fog is enabled, false otherwise. | void SetFogColor | ( | KFbxColor | pColor | ) |
Set the fog color.
| pColor | The fog color. |
| KFbxColor GetFogColor | ( | ) |
Get the fog color.
| void SetFogMode | ( | EFogMode | pMode | ) |
Set the fog mode.
| pMode | The fog type. |
| EFogMode GetFogMode | ( | ) |
Get the fog mode.
| void SetFogDensity | ( | double | pDensity | ) |
Set the fog density.
| 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. |
| double GetFogDensity | ( | ) |
Get the fog density.
| void SetFogStart | ( | double | pStart | ) |
Set the distance from the view where the fog starts.
| pStart | Distance where the fog starts. |
| double GetFogStart | ( | ) |
Get the distance from the view where the fog starts.
| void SetFogEnd | ( | double | pEnd | ) |
Set the distance from the view where the fog ends.
| pEnd | Distance where the fog ends. |
| double GetFogEnd | ( | ) |
Get the distance from the view where the fog ends.
| void SetShadowEnable | ( | bool | pShadowEnable | ) |
Enable or disable the shadow planes display.
| pShadowEnable | Set to true to display shadow planes in the scene. |
| bool GetShadowEnable | ( | ) |
Get the current state of the ShadowEnable flag.
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.
| pShadowIntensity | Intensity applied to all the shadow planes. |
| double GetShadowIntensity | ( | ) |
Get the shadow intensity applied to all shadow planes.
| int GetShadowPlaneCount | ( | ) |
Get the number of shadow planes.
| KFbxShadowPlane* GetShadowPlane | ( | int | pIndex | ) |
Get a shadow plane.
| pIndex | Index of shadow plane. |
NULL if the index is out of range. | void AddShadowPlane | ( | KFbxShadowPlane | pShadowPlane | ) |
Add a shadow plane.
| pShadowPlane | The shadow plane to add. |
| void RemoveAllShadowPlanes | ( | ) |
Remove all shadow planes.
| KError& GetError | ( | ) |
Retrieve error object.
| EError GetLastErrorID | ( | ) |
Get last error code.
| char* GetLastErrorString | ( | ) |
Get last error string.
| void RestoreDefaultSettings | ( | ) |
Restore default settings.
| const KFbxGlobalLightSettings& operator= | ( | const KFbxGlobalLightSettings & | pGlobalLightSettings | ) |
Assignment operator.