Navigation: Scripting Reference Manual > Functions & Subroutines > SetAllSpecularPropertiesGrp

 

SetAllSpecularPropertiesGrp

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets specular properties on all surfaces descended from the given group entities.

 

Syntax

count = SetAllSpecularPropertiesGrp ( n, mat1, mat2, coat, rtcl )

 

Parameters

count (Long)

Number of entities for which specular properties are set.

 

n As Long

Group node number.

 

mat1 As Long

Material 1 identifier.

 

mat2 As Long

Material 2 identifier.

 

coat As Long

Coating identifier.

 

rtcl As Long

Raytrace Control identifier.

 

Remarks

Sets specular properties on all surfaces descended from the given group entities. Returns the number of entities for which specular properties are set. This count includes Lens, Mirror & Prism entities. If the indicated group is not found, the function returns an error. If there are no valid entities, a zero is returned.

 

Groups can only be created/edited/managed from the scripting language.

 

See Also

AddAllScatterProp

AddAllScatterPropGrp

AddGroup

AddToNthGroup

FindGroup

RemoveAllImpSampProp

RemoveAllImpSampPropGrp

RemoveAllScatterProp

RemoveAllScatterPropGrp

SetAllCoatingProp

SetAllCoatingPropGrp

SetAllImpSampActive

SetAllImpSampActiveGrp

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllRaytraceControlPropGrp

SetAllScatterActive

SetAllScatterActiveGrp

SetAllSpecularProperties

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC