Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

CmaterialPointer.

Method

NameDescription
setActiveIorModeSets the active IOR mode.
getActiveIorModeGets the active IOR mode.
setComplexIorSets the complex IOR file.
getComplexIorGets the complex IOR file.
setColorSets the reflectance color parameters (Reflectance 0, Reflectance 90, Transmittance and Scattering).
getColorGets the reflectance color parameters (Reflectance 0, Reflectance 90, Transmittance and Scattering).
setActiveColorSets the active reflectance color parameters.
getActiveColorGets the active reflectance color parameters.
setAbsorptionDistanceSets the absorption distance.
getAbsorptionDistanceGets the absorption distance.
setScatteringParametersSets the scattering parameters.
getScatteringParametersGets the scattering parameters.
setScatteringThicknessSets the thickness used for the single side scattering scattering.
getScatteringThicknessGets the thickness used for the single side scattering scattering.
setActiveScatteringThicknessSets the active scattering thickness.
getActiveScatteringThicknessGets the active scattering thickness.
setScatteringThicknessRangeSets the scattering thickness range.
getScatteringThicknessRangeGets the scattering thickness range.
setIORSets IOR parameters.
getIORGets IOR parameters.
setConductorSets conductor.
getConductorGets conductor.
enableForceFresnelEnables/disables force fresnel flag.
getForceFresnelGets force fresnel flag.
setFresnelCustomSets custom fresnel values.
getFresnelCustomGets custom fresnel values.
getReflectanceAndTransmittanceDeprecated.

...

LanguageSyntax
C++const char* getAbsorptionDistance( real& distance )
Pythontuple (str type, float distance) getAbsorptionDistance()

Parameters

...

LanguageSyntax
C++byte getScatteringParameters( real& scatteringCoefficient, real& asymmetryFactor, bool& useThickness )
Pythontuple (float scatteringCoef, float asymmetryFactor, bool useThickness) getScatteringParameters()

...

LanguageSyntax
C++byte getScatteringThicknessRange( real& min, real& max )
Pythontuple (float min, float max) getScatteringThicknessRange()

...

LanguageSyntax
C++byte getIOR( real& nd, real& abbe )
Pythontuple (float nd, float abbe) getIOR()

Return value

C++

0 = Error getting the IOR parameters.

...

LanguageSyntax
C++byte getFresnelCustom( real& angleStranght, real& roughnessStrenght, bool& isEnabled)
Pythontuple (float angleStrenght, float roughnessStrenght, bool isEnabled) getFresnelCustom()

Return value

...

Tuple containing the custom fresnel values (angleStrenght, roughnessStrenght, isEnabled).

...