Navigation: Scripting Reference Manual > Functions & Subroutines > SetVolScatActiveFlag

 

SetVolScatActiveFlag

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the volume scatter active flag for the specified material.

 

Syntax

SetVolScatActiveFlag id, flag

 

Parameters

id As Long

Identifier of the material to set flag.

 

flag As Boolean

Absorption flag. Set to True if absorption is active, False otherwise.

 

Remarks

Sets the volume scatter active flag for the specified material. Generates an error if the Volume Scatter type is set to "None" and/or no Volume scatter g- parameter is specified. Generates no error and takes no action unless the Volume Scatter Type is set and both a Volume Scatter g-parameter and a scatter coefficient are specified.

 

See Also

GetVolScatActiveFlag

GetVolScatMaxEvents

SetVolScatmaxEvents

GetVolScatFunctionType

SetVolScatNone

SetVolScatHenyey

 

 

 

 

 

Copyright © Photon Engineering, LLC