Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampGetRayCount

 

ImpSampGetRayCount

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the number of scattered rays from an Importance Sampling specification.

 

Syntax

count = ImpSampGetRayCount ( n, indx )

 

Parameters

count (Long)

Returns the number of rays scattered into the importance sampling specification.

 

ByVal n As Long

Node number of the surface.

 

indx As Long

The index (zero based) of the importance sampling specification.

 

Remarks

This function retrieves the number of scattered rays from an Importance Sampling specification. If there is a problem, the function returns zero and does not set an error.

 

See Also

ImpSampSetRayCount

Examples

Importance Samples

 

 

 

 

 

Copyright © Photon Engineering, LLC