...
Base class: MaxwellMayaMaterialComponent
.
Methods
bool | SetAttenuation(double distance, AttenDistUnit unit) |
void | GetAttenuation(double& distance, AttenDistUnit& unit) const |
void | SetNd(double nd) |
double | GetNd() const |
void | SetK(double k) |
double | GetK() const |
void | SetAbbe(double abbe) |
double | GetAbbe() const |
void | SetForceFresnel(bool forceFresnel) |
bool | GetForceFresnel() const |
void | SetR2(bool use, double angle, double roughness) |
void | GetR2(bool& use, double& angle, double& roughness) const |
void | SetIORFile(bool use, const MString& fileName) |
void | GetIORFile(bool& use, MString& fileName) const |
void | SetScattering(double coefficient, double asymmetry, bool singleSided) |
void | GetScattering(double& coefficient, double& asymmetry, bool& singleSided) const |
void | SetThicknessRange(double thicknessMin, double thicknessMax) |
void | GetThicknessRange(double& thicknessMin, double& thicknessMax) const |
Inherited methods |
...
These methods do not exist in Python; SetNd
is replaced by SetIOR
, which takes an optional second argument specifying the imaginary part of the index of refraction (equivalent to SetK
) and GetNd
is replaced by GetIOR
, which returns a tuple with both the real and imaginary parts of the IOR.
...
K is the imaginary part of the index of refraction. See here for details on this attribute. These methods do not exist in Python, where they are replaced by SetIOR
and GetIOR
(described in the SetNd
documentation above).
Attribute name: iorK (AttrType_Double
).
...