Navigation: Scripting Reference Manual > Functions & Subroutines > GetSourceUserRayCount

 

GetSourceUserRayCount

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the number of user rays defined in a particular source.  Depending on the number of rays traced, it may be necessary to dimension ray index and ray counter variables as data type Huge_ instead of Long.  Please see Multi-threaded Raytracing for more information.

 

Syntax

count = GetSourceUserRayCount ( n )

 

Parameters

count (Long or Huge_)

Returns the number of user rays for a particular source.

 

n As Long

Node number of the source.

 

Remarks

This function retrieves the number of user rays defined in a particular source. If there is a problem the function returns 0 and does not set an error.

 

See Also

AddSourceUserRay

AddSourceUserRays

DeleteSourceIthUserRay

DeleteSourceUserRays

SetSourceIthUserRay

GetSourceIthUserRay

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC