Navigation: Scripting Reference Manual > Functions & Subroutines > ToggleAllImpSampActive

 

ToggleAllImpSampActive

 

Contact Us: fredsupport@photonengr.com

 

Description

Toggles all importance sample active flags on all surfaces descended from the given entity.

 

Syntax

count = ToggleAllImpSampActive ( n )

 

Parameters

count (Long)

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

 

n As Long

Entity node number.

 

Remarks

Toggles all importance sample active flags on all surfaces descended from the given entity. The term "toggle" means to set the active flag to the opposite of its current state. Returns the total number of entities examined rather than the total number of flags toggled.

 

See Also

AddAllScatterProp

AddAllScatterPropGrp

RemoveAllImpSampProp

RemoveAllImpSampPropGrp

RemoveAllScatterProp

RemoveAllScatterPropGrp

SetAllCoatingProp

SetAllCoatingPropGrp

SetAllImpSampActive

SetAllImpSampActiveGrp

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllRaytraceControlPropGrp

SetAllScatterActive

SetAllScatterActiveGrp

SetAllSpecularProperties

SetAllSpecularPropertiesGrp

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC