#include <Light.h>
Inheritance diagram for CSLLight:

Public Member Functions |
|
| virtual SI_Error | Synchronize () |
| virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName) |
| virtual CSLAnimatableType * | ParameterFromType (EFCurveType in_Type, SI_Char *in_szParameterName) |
| virtual | ~CSLLight () |
| CSIBCColorf | GetColor () |
| SI_Void | SetColor (CSIBCColorf &in_rColor) |
| CSIBCVector3D | GetPosition () |
| SI_Void | SetPosition (CSIBCVector3D &in_rValue) |
| CSLConstraint * | AddConstraint (CSLConstraint::EConstraintType in_ConstraintType) |
| CSLLightInfo * | CreateLightInfo () |
| SI_Error | DestroyLightInfo () |
| CSLLightInfo * | ConnectLightInfo (CSLLightInfo *in_pToConnect) |
| CSLLightInfo * | LightInfo () |
Base class for lights (see the SI_Light template reference).
| virtual ~CSLLight | ( | ) | [virtual] |
Destructor
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes this light instance with its IO layer representation
| SI_SUCCESS | this function always returns SI_SUCCESS |
Reimplemented from CSLConstrainableType.
Reimplemented in CSLCOLLADASpotLight, CSLDirectionalLight, CSLInfiniteLight, CSLPointLight, and CSLSpotLight.
| 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 CSLTemplate.
Reimplemented in CSLDirectionalLight, and CSLSpotLight.
| 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_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.
Reimplemented in CSLDirectionalLight, and CSLSpotLight.
| CSIBCColorf GetColor | ( | ) |
Return the color of the light.
| SI_Void SetColor | ( | CSIBCColorf & | in_rColor | ) |
Change the color of the light.
| in_rColor | New light color. |
| CSIBCVector3D GetPosition | ( | ) |
Return the position of the light.
| SI_Void SetPosition | ( | CSIBCVector3D & | in_rValue | ) |
Change the position of the light.
| in_rValue | New light position. |
| CSLConstraint* AddConstraint | ( | CSLConstraint::EConstraintType | in_ConstraintType | ) | [virtual] |
Add a new constraint to the light.
| in_ConstraintType | Type of constraint to create. |
Implements CSLConstrainableType.
| CSLLightInfo* CreateLightInfo | ( | ) |
Creates a new light info
| SI_Error DestroyLightInfo | ( | ) |
Destroys the light info
| CSLLightInfo* ConnectLightInfo | ( | CSLLightInfo * | in_pToConnect | ) |
Connects an exisiting light info
| in_pToConnect | Pointer to the light info to use |
| CSLLightInfo* LightInfo | ( | ) |
Gets a pointer to the light info