Navigation: Scripting Reference Manual > Functions & Subroutines > AddAllScatterProp

 

AddAllScatterProp

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds the indicated scatter model on all surfaces descended from the given entity.

 

Syntax

count = AddAllScatterProp ( n, scatid )

 

Parameters

count (Long)

Number of entities for which given scatter model was added.

 

n As Long

Entity node number.

 

scatid As Long

Identifier of scatter model to be added.

 

Remarks

Adds the indicated scatter model on all surfaces descended from the given entity. Returns the number of entities for which the given scatter model was added. If the indicated entity is not found or if there are no valid entities, a zero is returned.

 

See Also

AddAllScatterPropGrp

RemoveAllImpSampProp

RemoveAllImpSampPropGrp

RemoveAllScatterProp

RemoveAllScatterPropGrp

SetAllCoatingProp

SetAllCoatingPropGrp

SetAllImpSampActive

SetAllImpSampActiveGrp

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllRaytraceControlPropGrp

SetAllScatterActive

SetAllScatterActiveGrp

SetAllSpecularProperties

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC