Navigation: Scripting Reference Manual > Functions & Subroutines > SetAllScatterActive

 

SetAllScatterActive

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets all scatter active flags on all surfaces descended from the given entity.

 

Syntax

count = SetAllScatterActive ( 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 scatter active flags on all surfaces descended from the given entity. Returns the number of entities examined rather than the total number of flags set.

 

See Also

AddAllScatterProp

AddAllScatterPropGrp

RemoveAllImpSampProp

RemoveAllImpSampPropGrp

RemoveAllScatterProp

RemoveAllScatterPropGrp

SetAllCoatingProp

SetAllCoatingPropGrp

SetAllImpSampActive

SetAllImpSampActiveGrp

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllRaytraceControlPropGrp

SetAllScatterActiveGrp

SetAllSpecularProperties

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC