#include <Fog.h>
Inheritance diagram for CSLFog:

Public Types |
|
| enum | EFogType { SI_VERTEX, SI_PIXEL } |
| enum | EFogInterpolationType { SI_LINEAR, SI_EXPONENTIAL } |
Public Member Functions |
|
| CSLFog (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLFog () |
| EFogType | GetFogType () |
| SI_Void | SetFogType (EFogType in_Type) |
| EFogInterpolationType | GetFogInterpolationType () |
| SI_Void | SetFogInterpolationType (EFogInterpolationType in_Type) |
| CSIBCColorf | GetColor () |
| SI_Void | SetColor (CSIBCColorf &in_rColor) |
| SI_Float | GetNear () |
| SI_Void | SetNear (SI_Float in_fValue) |
| SI_Float | GetFar () |
| SI_Void | SetFar (SI_Float in_fValue) |
| virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName) |
| virtual CSLAnimatableType * | ParameterFromType (EFCurveType in_Type, SI_Char *in_szParameterName) |
| virtual ETemplateType | Type () |
Describes the fog (depth fading) in a scene (see the SI_Fog template reference).
| enum EFogType |
This enum list the possible interpolation type for the fog.
| CSLFog | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| [in] | in_pScene | Parent scene |
| [in] | in_pModel | Parent model |
| [in] | in_pTemplate | Parent Template |
| virtual ~CSLFog | ( | ) | [virtual] |
Destructor
| EFogType GetFogType | ( | ) | [inline] |
Returns the type of the fog.
| SI_Void SetFogType | ( | EFogType | in_Type | ) | [inline] |
Changes the type of the fog.
| [in] | in_Type | New fog type. |
| EFogInterpolationType GetFogInterpolationType | ( | ) | [inline] |
Returns the type of interpolation of the fog.
| SI_Void SetFogInterpolationType | ( | EFogInterpolationType | in_Type | ) | [inline] |
Changes the type of interpolation of the fog.
| [in] | in_Type | New fog interpolation type. |
| CSIBCColorf GetColor | ( | ) | [inline] |
Returns the color of the fog.
| SI_Void SetColor | ( | CSIBCColorf & | in_rColor | ) | [inline] |
Changes the color of the fog.
| [in] | in_rColor | New fog color. |
| SI_Float GetNear | ( | ) | [inline] |
Returns the distance at which fog starts.
| SI_Void SetNear | ( | SI_Float | in_fValue | ) | [inline] |
Changes the distance at which fog starts.
| [in] | in_fValue | New start distance. |
| SI_Float GetFar | ( | ) | [inline] |
Returns the distance at which fog stops.
| SI_Void SetFar | ( | SI_Float | in_fValue | ) | [inline] |
Changes the distance at which fog stops.
| [in] | in_fValue | New stop distance. |
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
Returns a handle on one of this fog's parameters by using its name
| [in] | in_szName | the name of the parameter to get the handle from |
Reimplemented from CSLTemplate.
| virtual CSLAnimatableType* ParameterFromType | ( | EFCurveType | in_Type, | |
| SI_Char * | in_szParameterName | |||
| ) | [virtual] |
Returns a handle on one of this fog's parameters by using its name and type
| [in] | in_szParameterName | the name of the parameter to get the handle from |
| [in] | in_Type | the type of the parameter to get the handle from |
Reimplemented from CSLTemplate.
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the type of this template
| CSLTemplate::SI_FOG | The type of this template |
Implements CSLTemplate.