Navigation: Scripting Reference Manual > Functions & Subroutines > PathRayCount

 

PathRayCount

 

Contact Us: fredsupport@photonengr.com

 

Description

Returns the number of rays in a specific path.  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 = PathRayCount ( path )

 

Parameters

count (Long or Huge_)

Will hold the number of rays in the path.

 

path As Long

The identifier of the path.

 

Remarks

This function returns the number of rays in a specific path. If there is a problem the function does not set an error and returns 0.

 

See Also

Path Commands

 

Examples

RayPath Functions

 

 

 

 

 

Copyright © Photon Engineering, LLC