Navigation: Scripting Reference Manual > Functions & Subroutines > SetAllImpSampActiveGrp

 

SetAllImpSampActiveGrp

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets all Importance Sample active flags on all surfaces descended from the given group entities.

 

Syntax

count = SetAllImpSampActiveGrp ( n, active )

 

Parameters

count (Long)

Total number of entities examined. This is not the total number of flags set.

 

n As Long

Entity node number.

 

active As Boolean

Flag turning scatter model on or off (True or False).

 

Remarks

Sets all Importance Sample active flags on all surfaces descended from the given group entities. Returns the number of entities examined rather than the total number of flags set.  If the indicated group is not found, the function returns an error. If there are no valid entities, a zero is returned.

 

See Also

AddAllScatterProp

AddAllScatterPropGrp

AddGroup

AddToNthGroup

FindGroup

RemoveAllImpSampProp

RemoveAllImpSampPropGrp

RemoveAllScatterProp

RemoveAllScatterPropGrp

SetAllCoatingProp

SetAllCoatingPropGrp

SetAllImpSampActive

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllRaytraceControlPropGrp

SetAllScatterActive

SetAllScatterActiveGrp

SetAllSpecularProperties

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC