Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampIsReversed

 

ImpSampIsReversed

 

Contact Us: fredsupport@photonengr.com

 

Description

Determines if ray directions of an Importance Sampling specification are reversed.

 

Syntax

reversed = ImpSampIsReversed ( n, indx )

 

Parameters

reversed (Boolean)

True if the ray directions of an importance sampling specification are reversed, False otherwise.

 

n As Long

Node number of the surface.

 

indx As Long

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

 

Remarks

This function determines if ray directions of an Importance Sampling specification are reversed. If there is a problem, the function returns False and does not set an error.

 

See Also

ImpSampSetReversed

Examples

Importance Samples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC