#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) | |
| Constructor. |
|
| ~CSLGlobalMaterial () | |
| Destructor. |
|
| CSLBaseMaterial * | GetMaterial () |
| Get the referenced material. |
|
| CSIBCString | GetMaterialName () |
| Get the referenced material name. |
|
| SI_Void | SetMaterial (CSLBaseMaterial *in_pNewMaterial) |
| Set the referenced material. |
|
| SI_Void | SetMaterialName (const CSIBCString &in_szNewMaterialName) |
| Set the referenced material name. Should ONLY be called if we don't export the material. |
|
| EPropagationType | GetPropagationType () |
| Get the propagation type. |
|
| SI_Void | SetPropagationType (EPropagationType in_PropagationType) |
| Set the propagation type. |
|
| CSLTemplate::ETemplateType | Type () |
| Returns the type of this template (GLOBAL_MATERIAL). |
|
| SI_Error | Synchronize () |
| Synchronize with the parent template data. |
|
| enum EPropagationType |
| CSLGlobalMaterial | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor.
| in_pScene | Parent Scene | |
| in_pModel | Parent Model | |
| in_pTemplate | Parent Template |
| CSLBaseMaterial* GetMaterial | ( | ) |
Get the referenced material.
| CSIBCString GetMaterialName | ( | ) |
Get the referenced material name.
| SI_Void SetMaterial | ( | CSLBaseMaterial * | in_pNewMaterial | ) |
Set the referenced material.
| in_pNewMaterial | Pointer to new refered material. |
| SI_Void SetMaterialName | ( | const CSIBCString & | in_szNewMaterialName | ) |
Set the referenced material name. Should ONLY be called if we don't export the material.
| in_szNewMaterialName | The new refered material name. |
| EPropagationType GetPropagationType | ( | ) |
Get the propagation type.
| SI_Void SetPropagationType | ( | EPropagationType | in_PropagationType | ) |
Set the propagation type.
| in_PropagationType | New type of propagation tp use |
| CSLTemplate::ETemplateType Type | ( | ) | [virtual] |
Returns the type of this template (GLOBAL_MATERIAL).
CSLTemplate::ETemplateType The type of this template (GLOBAL_MATERIAL)
Implements CSLTemplate.
| SI_Error Synchronize | ( | ) | [virtual] |
Synchronize with the parent template data.
Reimplemented from CSLTemplate.