Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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).

...