...
Base class: MaxwellMayaMaterialComponent
.
Methods
void | Destroy() |
void | SetEnabled(bool enabled) |
bool | GetEnabled() const |
void | SetEmissionType(EmissionType type) |
EmissionType | GetEmissionType() const |
void | SetColorType(ColorType type) |
ColorType | GetColorType() const |
void | SetRGBColor(const MFloatVector& color) |
void | GetRGBColor(MFloatVector& color) const |
void | SetCorrelatedColor(double temperature) |
double | GetCorrelatedColor() const |
void | SetOutputType(OutputType type) |
OutputType | GetOutputType() const |
void | SetWatts(double watts) |
double | GetWatts() const |
void | SetEfficacy(double efficacy) |
double | GetEfficacy() const |
void | SetLuminance(double luminance) |
double | GetLuminance() const |
void | SetIES(const MString& file, double intensity) |
void | GetIES(MString& file, double& intensity) const |
void | SetTemperature(double temperature) |
double | GetTemperature() const |
Inherited methods |
...
This attribute represents the emission color when the emitter type is set to EmissionType_ColorLuminance
and the color type is set to ColorType_RGB
. The Python version of SetRGBColor
takes the red, green and blue values as separate arguments (in the range 0..1), while GetRGBColor
returns the color as a 3-tuple.
...
This attribute represents the emission temperature when the emitter type is set to EmissionType_Temperature
. Not to be confused with the correlated color attribute, which only controls the emission color when the type is set to EmissionType_ColorLuminance
. This attribute defines both the emission color and the intensity.
...