Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourcePosSurface

 

SetSourcePosSurface

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the specification for a source with a Random Surface ray position type.

 

Syntax

SetSourcePosSurface n, pos

 

Parameters

n As Long

Node number of the source.

 

pos As T_SOURCEPOSSURFACE

Structure containing the new Random Surface position data for the source.

 

Remarks

This subroutine sets the data for a source with a Random Surface ray position type. If there is a problem the subroutine sets an error and returns without modifying the source.

 

See Also

T_SOURCEPOSSURFACE

GetSourcePosSurface

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC