#include <XSITriangleList.h>
Inheritance diagram for CSLXSITriangleList:

Public Member Functions |
|
| CSLXSITriangleList (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLXSITriangleList () |
| virtual ETemplateType | Type () |
| CSLBaseMaterial * | GetMaterial () |
| CSIBCString | GetMaterialName () |
| SI_Void | SetMaterial (CSLBaseMaterial *in_pNewMaterial) |
| SI_Void | SetMaterialName (const CSIBCString &in_szNewMaterialName) |
| CSLIntArray * | GetVertexIndices () |
| SI_Int | GetTriangleCount () |
| virtual SI_Error | SetCount (SI_Int) |
| virtual SI_Error | Synchronize () |
Describes a list of triangles for dotXSI 5.0+ (see the XSI_TriangleList template reference). The polynodes in this list can have N number of attibutes like vertex, normals, UV and color information.
| CSLXSITriangleList | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| [in] | in_pScene | Parent scene |
| [in] | in_pModel | Parent model |
| [in] | in_pTemplate | Refered template |
| virtual ~CSLXSITriangleList | ( | ) | [virtual] |
Destructor
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the type of this template
| CSLTemplate::XSI_TRIANGLE_LIST | The type of this template |
Implements CSLTemplate.
| CSLBaseMaterial* GetMaterial | ( | ) | [inline] |
Returns the material object of the triangle list.
| CSIBCString GetMaterialName | ( | ) |
Returns the material object name of the triangle list or an empty string if there's none.
| SI_Void SetMaterial | ( | CSLBaseMaterial * | in_pNewMaterial | ) |
Changes the material object of the triangle list.
| [in] | in_pNewMaterial | New material object. |
| SI_Void SetMaterialName | ( | const CSIBCString & | in_szNewMaterialName | ) |
Changes the material object name of the triangle list. Should ONLY be called if we don't export the material.
| [in] | in_szNewMaterialName | New material object name. |
| CSLIntArray* GetVertexIndices | ( | ) |
Returns the polynode vertex indices array.
| SI_Int GetTriangleCount | ( | ) |
Returns the number of triangle.
| virtual SI_Error SetCount | ( | SI_Int | ) | [virtual] |
Sets the number of polynode in this triangle list.
Reimplemented from CSLXSISubComponentList.
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Commits the current template information
Reimplemented from CSLTemplate.
Reimplemented in CSLCOLLADATriangleList.