Navigation: Scripting Reference Manual > Functions & Subroutines > SetAllCoatingProp

 

SetAllCoatingProp

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets coating on all surfaces descended from the given entity.

 

Syntax

count = SetAllCoatingProp ( n, coat )

 

Parameters

count (Long)

Number of entities for which Coating property is set.

 

n As Long

Entity node number.

 

coat As Long

Coating identifier.

 

Remarks

Sets coating on all surfaces descended from the given entity. Returns the number of entities for which Coating property is set. This count includes Lens, Mirror & Prism entities. If the indicated entity is not found or if there are no valid entities, a zero is returned.

 

 

See Also

AddAllScatterProp

AddAllScatterPropGrp

RemoveAllImpSampProp

RemoveAllImpSampPropGrp

RemoveAllScatterProp

RemoveAllScatterPropGrp

SetAllCoatingPropGrp

SetAllImpSampActive

SetAllImpSampActiveGrp

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllRaytraceControlPropGrp

SetAllScatterActive

SetAllScatterActiveGrp

SetAllSpecularProperties

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC