Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourceSecondaryRayScale

 

SetSourceSecondaryRayScale

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the scale factor for the secondary rays in a specified coherent source.

 

Syntax

SetSourceSecondaryRayScale n, rscale

 

Parameters

n As Long

Node number of the source.

 

rscale As Double

The new scale factor of secondary rays for the source.  Normally this value should be set to unity.

 

Remarks

This subroutine sets the scale factor for the secondary rays in a specified coherent source. If there is a problem, the subroutine returns without setting an error or modifying the source.

 

The scale factor is intended for advanced users and controls how close the secondary rays are to the base ray.

 

See Also

GetSourceSecondaryRayScale

GetSourceSecondaryRayCount

SetSourceSecondaryRayCount

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC