Navigation: Scripting Reference Manual > Functions & Subroutines > GetSourcePosSurface

 

GetSourcePosSurface

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the data from a source with a Random Surface ray position type.

 

Syntax

success = GetSourcePosSurface ( n, data )

 

Parameters

success (Boolean)

Set to True if the function succeeds, False otherwise.

 

n As Long

Node number of the source.

 

data As T_SOURCEPOSSURFACE

Structure containing the Random Surface position data from the source.

 

Remarks

This function retrieves the data from a source with a Random Surface ray position type. If there is a problem the function returns False and does not set an error.

 

See Also

T_SOURCEPOSSURFACE

SetSourcePosSurface

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC