...
Base class: MaxwellMayaMaterialComponent
.
Methods
void | Destroy() |
bool | SetName(const MString& name) |
void MString | GetName() const |
MaxwellMayaBSDF* | AddBSDF() |
unsigned int | GetNumBSDFs() const |
MaxwellMayaBSDF* | GetBSDF(unsigned int index) |
const MaxwellMayaBSDF* | GetBSDF(unsigned int index) const |
MaxwellMayaEmitter* | CreateEmitter() |
MaxwellMayaEmitter* | GetEmitter() |
const MaxwellMayaEmitter* | GetEmitter() const |
bool | HasEmitter() const |
void | RemoveEmitter() |
MaxwellMayaDisplacement* | CreateDisplacement() |
MaxwellMayaDisplacement* | GetDisplacement() |
const MaxwellMayaDisplacement* | GetDisplacement() const |
bool | HasDisplacement() |
void | RemoveDisplacement() |
void | SetEnabled(bool enabled) |
bool | GetEnabled() const |
bool | SetBlendMode(BlendMode mode) |
BlendMode | GetBlendMode() const |
Inherited methods |
...
This is a convenience method which allows you to check if an emitter component is present. It is equivalent to checking if GetEmitter
returns NULL
, but you don't have to worry about managing the returned pointer in case there is an emitter and you only wanted to check its existence. This method does not exist in Python, where the object returned by GetEmitter
is managed automatically by the garbage collector.
...
Convenience method for checking if the layer contains a displacement component. This method does not exist in Python. The reason why it exists in C++ is the same as for the HasEmitter
method documented above.
void RemoveDisplacement()
...