Navigation: Scripting Reference Manual > Functions & Subroutines > InitRaytraceCtrl

 

InitRaytraceCtrl

 

Contact Us: fredsupport@photonengr.com

 

Description

Initializes a T_RAYTRACECTRL structure control with its default values.

 

Syntax

InitRaytraceCtrl rt

 

Parameters

rt As T_RAYTRACECTRL

The T_RAYTRACECTRL structure to be initialized.

 

Remarks

This subroutine initializes a T_RAYTRACECTRL structure. Defaults are shown in the table below:

 

Data Type

Default

name

Raytrace Control

description

empty

ParentRaySpec

Highest Power

AbsReflPowerCutoff

1e-014

AbsTranPowerCutoff

1e-014

RelReflPowerCutoff

1e-009

RelTranPowerCutoff

1e-009

NumConsecIntersectCutoff

100

NumTotalIntersectCutoff

1000

ScatterAncestryCutoff

1

SpecularAncestryCutoff

2

AllowRefl

True

AllowTIR

True

AllowTran

True

 

See Also

T_RAYTRACECTRL

AddRaytraceCtrl

GetRaytraceCtrl

SetRaytraceCtrl

Examples

Raytrace Controls

 

 

 

 

 

Copyright © Photon Engineering, LLC