#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 () |
| enum EFogType |
This enum list the possible interpolation type for the fog.
| CSLFog | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | Parent scene | |
| in_pModel | Parent model | |
| in_pTemplate | Parent Template |
| virtual ~CSLFog | ( | ) | [virtual] |
Destructor
| EFogType GetFogType | ( | ) | [inline] |
Return the type of the fog.
| SI_Void SetFogType | ( | EFogType | in_Type | ) | [inline] |
Change the type of the fog.
| in_Type | New fog type. |
| EFogInterpolationType GetFogInterpolationType | ( | ) | [inline] |
Return the type of interpolation of the fog.
| SI_Void SetFogInterpolationType | ( | EFogInterpolationType | in_Type | ) | [inline] |
Change the type of interpolation of the fog.
| 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_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_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_fValue | New stop distance. |
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
Gets a handle on one of this fog's parameters by using its name
| 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] |
Gets a handle on one of this fog's parameters by using its name and type
| in_szParameterName | the name of the parameter to get the handle from | |
| 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
Implements CSLTemplate.