...
Method
Name | Description |
---|---|
setActiveIorMode | Sets the active IOR mode. |
getActiveIorMode | Gets the active IOR mode. |
setComplexIor | Sets the complex IOR file. |
getComplexIor | Gets the complex IOR file. |
setColor | Sets the reflectance color parameters (Reflectance 0, Reflectance 90, Transmittance and Scattering). |
getColor | Gets the reflectance color parameters (Reflectance 0, Reflectance 90, Transmittance and Scattering). |
setActiveColor | Sets the active reflectance color parameters. |
getActiveColor | Gets the active reflectance color parameters. |
setAbsorptionDistance | Sets the absorption distance. |
getAbsorptionDistance | Gets the absorption distance. |
setScatteringParameters | Sets the scattering parameters. |
getScatteringParameters | Gets the scattering parameters. |
setScatteringThickness | Sets the thickness used for the single side scattering scattering. |
getScatteringThickness | Gets the thickness used for the single side scattering scattering. |
setActiveScatteringThickness | Sets the active scattering thickness. |
getActiveScatteringThickness | Gets the active scattering thickness. |
setScatteringThicknessRange | Sets the scattering thickness range. |
getScatteringThicknessRange | Gets the scattering thickness range. |
setIOR | Sets IOR parameters. |
getIOR | Gets IOR parameters. |
setConductor | Sets conductor. |
getConductor | Gets conductor. |
enableForceFresnel | Enables/disables force fresnel flag. |
getForceFresnel | Gets force fresnel flag. |
setFresnelCustom | Sets custom fresnel values. |
getFresnelCustom | Gets custom fresnel values. |
getReflectanceAndTransmittance | Deprecated. |
...
Language | Syntax |
---|---|
C++ | const char* getAbsorptionDistance( real& distance ) |
Python | tuple (str type, float distance) getAbsorptionDistance() |
Parameters
...
Language | Syntax |
---|---|
C++ | byte getScatteringParameters( real& scatteringCoefficient, real& asymmetryFactor, bool& useThickness ) |
Python | tuple (float scatteringCoef, float asymmetryFactor, bool useThickness) getScatteringParameters() |
...
Language | Syntax |
---|---|
C++ | byte getScatteringThicknessRange( real& min, real& max ) |
Python | tuple (float min, float max) getScatteringThicknessRange() |
...
Language | Syntax |
---|---|
C++ | byte getIOR( real& nd, real& abbe ) |
Python | tuple (float nd, float abbe) getIOR() |
Return value
C++
0 = Error getting the IOR parameters.
...
Language | Syntax |
---|---|
C++ | byte getFresnelCustom( real& angleStranght, real& roughnessStrenght, bool& isEnabled) |
Python | tuple (float angleStrenght, float roughnessStrenght, bool isEnabled) getFresnelCustom() |
Return value
...
Tuple containing the custom fresnel values (angleStrenght, roughnessStrenght, isEnabled).
...