#include <Instance.h>
Inheritance diagram for CSLInstance:

Public Member Functions |
|
| CSLInstance (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLInstance () |
| CSLModel * | GetReference () |
| SI_Void | SetReference (CSLModel *in_pModel) |
| virtual SI_Error | Synchronize () |
| virtual ETemplateType | Type () |
Describes an instance primitive (see the SI_Instance template reference).
| CSLInstance | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| [in] | in_pScene | Pointer to the scene containing the instance |
| [in] | in_pModel | Pointer to the model containing the instance |
| [in] | in_pTemplate | Pointer to the CdotXSITemplate containing the instance |
| virtual ~CSLInstance | ( | ) | [virtual] |
Destructor
| CSLModel* GetReference | ( | ) |
Returns the reference model of the instance.
| SI_Void SetReference | ( | CSLModel * | in_pModel | ) |
Changes the reference model object of the instance.
| [in] | in_pModel | New reference model object. |
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes this instance with its IO layer representation
| SI_Error::SI_SUCCESS | this function always returns SI_SUCCESS |
Reimplemented from CSLTemplate.
Reimplemented in CSLCOLLADAInstance.
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the template type of the instance
| CSLTemplate::SI_INSTANCE | the template type |
Implements CSLTemplate.