#include <MaterialLibrary.h>
Inheritance diagram for CSLMaterialLibrary:

Public Member Functions |
|
| CSLMaterial * | AddMaterial () |
| virtual CSLXSIMaterial * | AddXSIMaterial () |
| SI_Error | ClearMaterials () |
| CSLBaseMaterial ** | GetMaterialList () |
| SI_Int | GetMaterialCount () |
| SI_Error | RemoveMaterial (SI_Int in_nIndex) |
| SI_Error | RemoveMaterial (CSLBaseMaterial *in_pMaterial) |
| virtual SI_Error | Synchronize () |
| virtual ETemplateType | Type () |
Handles the material library (see the SI_MaterialLibrary template reference). From this class you can add or remove materials that can be used in the scene.
| CSLMaterial* AddMaterial | ( | ) |
Adds a new material to the material library.
| virtual CSLXSIMaterial* AddXSIMaterial | ( | ) | [virtual] |
Adds a new Softimage material to the material library.
Reimplemented in CSLCOLLADAMaterialLibrary.
| SI_Error ClearMaterials | ( | ) |
Removes all materials from the material library.
| CSLBaseMaterial** GetMaterialList | ( | ) |
Returns an array of all materials in the library.
| SI_Int GetMaterialCount | ( | ) |
Returns the number of materials in the library.
| SI_Error RemoveMaterial | ( | SI_Int | in_nIndex | ) |
Removes a single material from the library.
| [in] | in_nIndex | Index of the material to remove. |
| SI_Error RemoveMaterial | ( | CSLBaseMaterial * | in_pMaterial | ) |
Removes a single material from the library.
| [in] | in_pMaterial | Pointer to the material to remove. |
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes to ensure that the animated parameter is up to date.
Reimplemented from CSLTemplate.
| virtual ETemplateType Type | ( | ) | [virtual] |
Returns the type of this template
Implements CSLTemplate.