#include <GlobalMaterial.h>
Inheritance diagram for CSLGlobalMaterial:

Public Types |
|
| enum | EPropagationType { SI_BRANCH, SI_NODE, SI_INHERITED } |
| Defines the various propagation types. More... |
|
Public Member Functions |
|
| CSLGlobalMaterial (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| ~CSLGlobalMaterial () | |
| Destructor. |
|
| CSLBaseMaterial * | GetMaterial () |
| CSIBCString | GetMaterialName () |
| SI_Void | SetMaterial (CSLBaseMaterial *in_pNewMaterial) |
| SI_Void | SetMaterialName (const CSIBCString &in_szNewMaterialName) |
| EPropagationType | GetPropagationType () |
| SI_Void | SetPropagationType (EPropagationType in_PropagationType) |
| CSLTemplate::ETemplateType | Type () |
| SI_Error | Synchronize () |
Identifies the global material of a model (see the SI_GlobalMaterial template reference).
| enum EPropagationType |
| CSLGlobalMaterial | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| [in] | in_pScene | Parent Scene |
| [in] | in_pModel | Parent Model |
| [in] | in_pTemplate | Parent Template |
| CSLBaseMaterial* GetMaterial | ( | ) |
Returns the referenced material
| CSIBCString GetMaterialName | ( | ) |
Returns the referenced material name
| SI_Void SetMaterial | ( | CSLBaseMaterial * | in_pNewMaterial | ) |
Sets the referenced material
| [in] | in_pNewMaterial | Pointer to new refered material. |
| SI_Void SetMaterialName | ( | const CSIBCString & | in_szNewMaterialName | ) |
Sets the referenced material name. Should ONLY be called if we don't export the material.
| [in] | in_szNewMaterialName | The new refered material name. |
| EPropagationType GetPropagationType | ( | ) |
Returns the propagation type
| SI_Void SetPropagationType | ( | EPropagationType | in_PropagationType | ) |
Sets the propagation type
| [in] | in_PropagationType | New type of propagation tp use |
| CSLTemplate::ETemplateType Type | ( | ) | [virtual] |
Returns the type of this template
| CSLTemplate::SI_GLOBAL_MATERIAL | The type of this template |
Implements CSLTemplate.
| SI_Error Synchronize | ( | ) | [virtual] |
Synchronize with the parent template data
Reimplemented from CSLTemplate.