Navigation: Scripting Reference Manual > Functions & Subroutines > GetMaterialAbsorbRefDist

 

GetMaterialAbsorbRefDist

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the reference distance for internal transmittance in a material and, implicitly, the absorption type.

 

Syntax

dist = GetMaterialAbsorbRefDist( id )

 

Parameters

dist (Double)

Value of the reference distance (system units) for internal transmittance in the material at identifier id. If dist=0, then the absorption type is "absorption coefficient".

 

id As Long

Identifier of the material.

 

Remarks

Retrieves the reference distance (system units) for internal transmittance in a material. If the return value is zero, then the absorption type is "absorption coefficient".

 

See Also

SetMaterialAbsorbRefDist

GetMaterialAbsorbFlag

SetMaterialAbsorbFlag

SetMaterialAbsorb

GetMaterialAbsorb

 

 

 

 

 

Copyright © Photon Engineering, LLC