Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampSetEntity

 

ImpSampSetEntity

 

Contact Us: fredsupport@photonengr.com

 

Description

Modifies an importance sampling specification of type "Scatter rays toward an entity" for a surface.

 

Syntax

ImpSampSetEntity n, indx, entity

 

Parameters

n As Long

Node number of the surface.

 

indx As Long

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

 

entity As Long

Sets the node number of the FRED entity towards which you want to scatter the rays.

 

Remarks

This subroutine modifies an importance sampling specification of type "Scatter rays toward an entity" for a surface. If the type was not previously "Entity", or if there is another problem, the subroutine sets an error and returns without modifying the importance sampling specification.

 

See Also

ImpSampAddEntity

ImpSampGetEntity

Examples

Importance Samples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC