Navigation: Scripting Reference Manual > Functions & Subroutines > SetAllSpecularProperties

 

SetAllSpecularProperties

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets specular properties on all surfaces descended from the given entity.

 

Syntax

count = SetAllSpecularProperties ( n, mat1, mat2, coat, rtc )

 

Parameters

count (Long)

Number of entities for which specular property is set.

 

n As Long

Entity node number.

 

mat1 As Long

Material 1 identifier.

 

mat2 As Long

Material 2 identifier.

 

coat As Long

Coating identifier.

 

rtc As Long

Raytrace Control identifier.

 

Remarks

Sets specular properties on all surfaces descended from the given entity. Returns the number of entities for which specular 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

SetAllCoatingProp

SetAllCoatingPropGrp

SetAllImpSampActive

SetAllImpSampActiveGrp

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllRaytraceControlPropGrp

SetAllScatterActive

SetAllScatterActiveGrp

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC