Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampIsActive

 

ImpSampIsActive

 

Contact Us: fredsupport@photonengr.com

 

Description

Determines if an Importance Sampling specification is active or not.

 

Syntax

active = ImpSampIsActive ( n, indx )

 

Parameters

active (Boolean)

True if the importance sampling specification is active, False if it is not.

 

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 an Importance Sampling specification is active or not. If there is a problem, the function returns False and does not set an error.

 

See Also

ImpSampDelete

ImpSampGetCount

ImpSampGetType

ImpSampSetActive

Examples

Importance Samples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC