MaxwellMayaReferencedMaterial class
Description
Referenced materials allow you to store material settings in external MXM files and load them in the scene at render time. You can create a referenced material by calling MaxwellMayaAPI::CreateReferencedMaterial
. The inherited GetMaterialType
method returns MaterialType_Referenced
.
Base class:Â MaxwellMayaMaterial
.
Methods
bool | SetFile(const MString& file) |
MString | GetFile() const |
 | Inherited methods |
bool SetFile(const MString& file)
Sets the path to the referenced MXM file. The file does not have to exist when the scene is exported, it is only needed at render time.
MString GetFile() const
Returns the path to the referenced MXM file.