Navigation: Scripting Reference Manual > Functions & Subroutines > SetVolScatCoefType

 

SetVolScatCoefType

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the Volume Scatter coefficient type for the specified material.

 

Syntax

SetVolScatCoefType id, ctype

 

Parameters

id As Long

Identifier of material.

 

ctype As Long

Coefficient type specifier. 0 for "scatter coefficient" and 1 for "mean-free path".

 

Remarks

Sets the Volume Scatter coefficient type for the specified material. 0 for "scatter coefficient" and 1 for "mean-free path". Generates an error if the material does not have Volume Scatter assigned.

 

See Also

GetVolScatCoefType

GetVolScatCoefCount

GetVolScatIthCoef

SetVolScatIthCoef

AddVolScatCoef

DeleteVolScatIthCoef

 

 

 

 

 

Copyright © Photon Engineering, LLC