#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. |
|
| SI_Void | SetMaterial (CSLBaseMaterial *in_pNewMaterial) |
| Set the referenced 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.
Set the referenced material.
| in_pNewMaterial | Pointer to new refered material. |
Get the propagation type.
Set the propagation type.
| in_PropagationType | New type of propagation tp use |
Returns the type of this template (GLOBAL_MATERIAL).
CSLTemplate::ETemplateType The type of this template (GLOBAL_MATERIAL)
Implements CSLTemplate.
Synchronize with the parent template data.
Reimplemented from CSLTemplate.