#include <Material.h>
Inheritance diagram for CSLMaterial:

Defines a legacy SI_Material
| enum EShadingModel |
| CSLMaterial | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | Pointer to the scene containing the Material | |
| in_pModel | Pointer to the model containing the Material | |
| in_pTemplate | Pointer to the CdotXSITemplate containing the Material |
| virtual ~CSLMaterial | ( | ) | [virtual] |
Destructor
| CSIBCColorf GetAmbientColor | ( | ) |
Return the ambient color of the material.
| SI_Void SetAmbientColor | ( | CSIBCColorf & | in_rColor | ) |
Change the ambient color of the material.
| CSIBCColorf& | New ambient color. |
| CSIBCColorf GetDiffuseColor | ( | ) |
Return the diffuse color of the material.
| SI_Void SetDiffuseColor | ( | CSIBCColorf & | in_rColor | ) |
Change the diffuset color of the material.
| CSIBCColorf& | New diffuse color. |
| CSIBCColorf GetEmissiveColor | ( | ) |
Return the emissive color of the material.
| SI_Void SetEmissiveColor | ( | CSIBCColorf & | in_rColor | ) |
Change the emissive color of the material.
| CSIBCColorf& | New emissive color. |
| EShadingModel GetShadingModel | ( | ) |
Return the shading model of the material.
| SI_Void SetShadingModel | ( | EShadingModel | in_Value | ) |
Change the shading model of the material.
| EShadingModel | New shading model. |
| CSIBCColorf GetSpecularColor | ( | ) |
Return the specular color of the material.
| SI_Void SetSpecularColor | ( | CSIBCColorf & | in_rColor | ) |
Change the specular color of the material.
| CSIBCColorf& | New specular color |
| SI_Float GetSpecularDecay | ( | ) |
Return the specular decay of the material.
| SI_Void SetSpecularDecay | ( | SI_Float | in_fValue | ) |
Change the specular decay of the material.
| SI_Float | New Specular decay. |
| CSLTexture2D* Texture2D | ( | ) |
Return the 2D texture of the material.
| CSLTexture2D* CreateTexture2D | ( | ) |
Create a new texture 2D for the material.
| SI_Error DestroyTexture2D | ( | ) |
Destroy the texture 2D of the material.
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronize will ensure that the animated parameter is up to date.
Reimplemented from CSLBaseMaterial.
| virtual ETemplateType Type | ( | ) | [virtual] |
Indicate which dotXSI template this object describes.
Implements CSLTemplate.
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
Return a proxy to the specified parameter.
| in_szName | Name of the parameter |
Reimplemented from CSLTemplate.
| virtual CSLAnimatableType* ParameterFromType | ( | EFCurveType | in_Type, | |
| SI_Char * | in_szParameterName | |||
| ) | [virtual] |
Return a proxy to the specified parameter.
| in_Type | Type of parameter | |
| in_szParameterName | Name of the parameter if the type is SI_PARAMETER |
Reimplemented from CSLTemplate.