Description This subroutine initializes a T_MPCADVANCEDRAYTRACE data structure with default values.
Syntax MPCInitAdvancedRaytrace( tMPC )
Parameters tMPC As T_MPCADVANCEDRAYTRACE Input data structure being initialized with default values. Structure members are initialized to the following values.
Example The example below demonstrates how to initialize a T_MPCADVANCEDRAYTRACE data structure to default values, modify specific parameter values of interest, and then use the structure to perform an MPC Trace Advanced call.
Sub Main
Dim mpcErr As Huge_ Dim tMPC As T_MPCADVANCEDRAYTRACE MPCInitAdvancedRaytrace( tMPC )
tMPC.action = "GPU" 'Use GPUs to generate starting rays tMPC.forceMonteCarlo = True 'Overrides raytrace properties tMPC.log = True
mpcErr = MPCAdvancedRaytrace( tMPC ) Print "MPC error code = " & mpcErr
End Sub
See Also
|