#include <DirectionalLight.h>
Inheritance diagram for CSLDirectionalLight:

Public Member Functions |
|
| CSLDirectionalLight (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLDirectionalLight () |
| CSIBCVector3D | GetDirection () |
| SI_Void | SetDirection (CSIBCVector3D &in_rValue) |
| virtual SI_Error | Synchronize () |
| virtual ETemplateType | Type () |
| virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName) |
| virtual CSLAnimatableType * | ParameterFromType (EFCurveType in_Type, SI_Char *in_szParameterName) |
| CSLDirectionalLight | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | scene to add this point light to | |
| in_pModel | model to add this light to | |
| in_pTemplate | IO layer template to connect to |
| virtual ~CSLDirectionalLight | ( | ) | [virtual] |
Destructor
| CSIBCVector3D GetDirection | ( | ) |
Return the direction of the light.
| SI_Void SetDirection | ( | CSIBCVector3D & | in_rValue | ) |
Change the direction of the light.
| in_rValue | New light direction. |
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes this directional light instance with its IO layer representation
| SI_SUCCESS | this function always returns SI_SUCCESS |
Reimplemented from CSLLight.
| virtual ETemplateType Type | ( | ) | [virtual] |
Get the template type
Implements CSLTemplate.
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
Gets a handle on one of this light's parameters by using its name
| in_szName | the name of the parameter to get the handle from |
Reimplemented from CSLLight.
| virtual CSLAnimatableType* ParameterFromType | ( | EFCurveType | in_Type, | |
| SI_Char * | in_szParameterName | |||
| ) | [virtual] |
Gets a handle on one of this light's parameters by using its name and type
| in_szName | the name of the parameter to get the handle from | |
| in_Type | the type of the parameter to get the handle from |
Reimplemented from CSLLight.