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
|