Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourceDirRange

 

SetSourceDirRange

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the ray directions data for a source with a "Ray Directions into an angular range" ray directions type.

 

Syntax

SetSourceDirRange n, dirS

 

Parameters

n As Long

Node number of the source.

 

dirS As T_SOURCEDIRRANGE

Structure containing the new data for the Ray Directions directed into an angular range.

 

Remarks

This subroutine sets the ray directions data for a source with a "Ray Directions into an angular range" ray directions type. If there is a problem the subroutine returns without modifying the source or setting an error.

 

See Also

T_SOURCEDIRRANGE

GetSourceDirRange

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC