Navigation: Scripting Reference Manual > Functions & Subroutines > SetMaterialAbsorbRefDist

 

SetMaterialAbsorbRefDist

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets both the absorption type and reference distance for internal transmittance in a material.

 

Syntax

SetMaterialAbsorbRefDist id, dist

 

Parameters

id As Long

Node number of material.

 

dist As Double

Reference distance for internal transmittance in system units. If set to zero, then the absorption type is set to "absorption coefficient". For all other values, the type is set to "internal transmittance".

 

Remarks

Sets both the absorption type and reference distance (system units) for internal transmittance in a material. If the reference distance is set to zero, then the absorption type is set to "absorption coefficient". For all other values of reference distance, the type is set to "internal transmittance". 

 

See Also

GetMaterialAbsorbRefDist

GetMaterialAbsorbFlag

SetMaterialAbsorbFlag

SetMaterialAbsorb

GetMaterialAbsorb

 

 

 

 

 

Copyright © Photon Engineering, LLC