Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourceSecondaryRayCount

 

SetSourceSecondaryRayCount

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the number of secondary rays per base ray in a specified source.

 

Syntax

SetSourceSecondaryRayCount n, count

 

Parameters

n As Long

Node number of the source.

 

count As Long

The new number of secondary rays for the source.  Allowed values are 2,4, or 8.

 

Remarks

This subroutine sets the number of secondary rays per base ray in a specified source. If there is a problem, the subroutine returns without setting an error or modifying the source.

 

See Also

GetSourceSecondaryRayCount

GetSourceSecondaryRayScale

SetSourceSecondaryRayScale

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC