#include <SpotLight.h>
Inheritance diagram for CSLSpotLight:

Public Member Functions |
|
| CSLSpotLight (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLSpotLight () |
| CSIBCVector3D | GetInterestPosition () |
| SI_Void | SetInterestPosition (CSIBCVector3D &in_rValue) |
| SI_Float | GetConeAngle () |
| SI_Void | SetConeAngle (SI_Float in_fValue) |
| SI_Float | GetSpreadAngle () |
| SI_Void | SetSpreadAngle (SI_Float in_fValue) |
| virtual SI_Error | Synchronize () |
| virtual ETemplateType | Type () |
| virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName) |
| virtual CSLAnimatableType * | ParameterFromType (EFCurveType in_Type, SI_Char *in_szParameterName) |
| CSLSpotLight | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | scene to add this spotlight to | |
| in_pModel | model to add this light to | |
| in_pTemplate | IO layer template to connect to |
| virtual ~CSLSpotLight | ( | ) | [virtual] |
Destructor
| CSIBCVector3D GetInterestPosition | ( | ) |
Return the position of the spotlight interest.
| SI_Void SetInterestPosition | ( | CSIBCVector3D & | in_rValue | ) |
Change the position of the spotlight interest.
| in_rValue | New interest position. |
| SI_Float GetConeAngle | ( | ) |
Return the cone angle of the spotlight.
| SI_Void SetConeAngle | ( | SI_Float | in_fValue | ) |
Change the cone angle of the spotlight.
| in_fValue | New cone angle. |
| SI_Float GetSpreadAngle | ( | ) |
Return the spread angle of the spotlight.
| SI_Void SetSpreadAngle | ( | SI_Float | in_fValue | ) |
Change the spread angle of the spotlight.
| in_fValue | New spread angle. |
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes this light instance with its IO layer representation
| SI_SUCCESS | this function always returns SI_SUCCESS |
Reimplemented from CSLLight.
Reimplemented in CSLCOLLADASpotLight.
| 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.