Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampGetType

 

ImpSampGetType

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the type of a particular importance sampling specification for a given surface.

 

Syntax

ImpSampType = ImpSampGetType ( n, indx )

 

Parameters

ImpSampType (String)

Returns the type of importance sampling specification.

 

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 type of a particular importance sampling specification for a given surface. If there is a problem the function returns an empty string and does not set an error.

 

Return value for ImpSampType is from the following list:

"Curve"

"Entity"

"Position"

"Direction"

"Specular"

"Ellipsoid"

"Unknown"

 

See Also

ImpSampGetCount

ImpSampGetDescription

ImpSampGetName

ImpSampIsActive

Examples

Importance Samples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC