#include <LightInfo.h>
Inheritance diagram for CSLLightInfo:

Public Types |
|
| enum | EFallofMode { SI_LINEAR, SI_EXPONENT } |
| Defines the various fallof modes. More... |
|
Public Member Functions |
|
| CSLLightInfo (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLLightInfo () |
| ETemplateType | Type () |
| virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName) |
| virtual CSLAnimatableType * | ParameterFromType (EFCurveType in_Type, SI_Char *in_szName) |
| SI_Bool | GetFallofActive () |
| SI_Void | SetFallofActive (SI_Bool in_bActive) |
| EFallofMode | GetFallofMode () |
| SI_Void | SetFallofMode (EFallofMode in_Mode) |
| SI_Float | GetStart () |
| SI_Void | SetStart (SI_Float in_fStart) |
| SI_Float | GetEnd () |
| SI_Void | SetEnd (SI_Float in_fEnd) |
| SI_Bool | GetShadowActive () |
| SI_Void | SetShadowActive (SI_Bool in_bActive) |
| SI_Float | GetUmbra () |
| SI_Void | SetUmbra (SI_Float in_fUmbra=0.75F) |
| SI_Bool | GetLightAsEnergy () |
| SI_Void | SetLightAsEnergy (SI_Bool in_bActive) |
| SI_Float | GetPhotonFactor () |
| SI_Void | SetPhotonFactor (SI_Float in_fPhotonFactor=0.75F) |
| SI_Float | GetIntensity () |
| SI_Void | SetIntensity (SI_Float in_fIntensity) |
| enum EFallofMode |
| CSLLightInfo | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | Parent scene | |
| in_pModel | Parent model | |
| in_pTemplate | Refered template |
| virtual ~CSLLightInfo | ( | ) | [virtual] |
Destructor
| ETemplateType Type | ( | ) | [inline, virtual] |
Gets the type of this template
Implements CSLTemplate.
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
Return a proxy to the specified parameter.
| in_szName | Name of the parameter |
Reimplemented from CSLTemplate.
| virtual CSLAnimatableType* ParameterFromType | ( | EFCurveType | in_Type, | |
| SI_Char * | in_szName | |||
| ) | [virtual] |
Return a proxy to the specified parameter.
| in_Type | Type of parameter | |
| in_szParameterName | Name of the parameter if the type is SI_PARAMETER |
Reimplemented from CSLTemplate.
| SI_Bool GetFallofActive | ( | ) |
Gets the fallof active state
| SI_Void SetFallofActive | ( | SI_Bool | in_bActive | ) |
Sets the fallof active state
| in_bActive | Whether or not fallof is active |
| EFallofMode GetFallofMode | ( | ) |
Gets the fallof mode
| SI_Void SetFallofMode | ( | EFallofMode | in_Mode | ) |
Sets the fallof mode
| in_Mode | The fallof mode |
| SI_Float GetStart | ( | ) |
Gets the start frame
| SI_Void SetStart | ( | SI_Float | in_fStart | ) |
Sets the start frame
| SI_Float GetEnd | ( | ) |
Gets the end frame
| SI_Void SetEnd | ( | SI_Float | in_fEnd | ) |
Sets the end frame
| SI_Bool GetShadowActive | ( | ) |
Gets the shadow active state
| SI_Void SetShadowActive | ( | SI_Bool | in_bActive | ) |
Sets the shadow active state
| in_bActive | Whether or not shadow is active |
| SI_Float GetUmbra | ( | ) |
Gets the Umbra value
| SI_Void SetUmbra | ( | SI_Float | in_fUmbra = 0.75F |
) |
Sets the Umbra value
| in_fUmbra | The umbra value |
| SI_Bool GetLightAsEnergy | ( | ) |
Gets the light as energy active state
| SI_Void SetLightAsEnergy | ( | SI_Bool | in_bActive | ) |
Sets the light as energy active state
| in_bActive | Whether or not light as energy is active |
| SI_Float GetPhotonFactor | ( | ) |
Gets the photon factor value
| SI_Void SetPhotonFactor | ( | SI_Float | in_fPhotonFactor = 0.75F |
) |
Sets the photon factor value
| in_fPhotonFactor | The photon factor value |
| SI_Float GetIntensity | ( | ) |
Gets the Intensity
| SI_Void SetIntensity | ( | SI_Float | in_fIntensity | ) |
Sets the Intensity
| in_fIntensity | The intensity factor |