Navigation: Scripting Reference Manual > Functions & Subroutines > FindRaytraceCtrl

 

FindRaytraceCtrl

 

Contact Us: fredsupport@photonengr.com

 

Description

Finds a raytrace control with a specified name.  This string can also be easily copied from the GUI using the "Copy Find-Name Command to Clipboard" feature available in the list menu after right mouse clicking on a node in the object tree.

 

Syntax

id = FindRaytraceCtrl ( rname )

 

Parameters

id (Long)

Identifier of the raytrace control with the given name.

 

rname As String

The name of the raytrace control to be found.

 

Remarks

This function looks in the associated FRED document for a raytrace control with the given name and returns its identifier, or a value of -1 if no such control is found.  The name search is case sensitive.

 

See Also

AddRaytraceCtrl

GetRaytraceCtrlCount

GetRaytraceCtrl

SetRaytraceCtrl

Examples

Raytrace Ctrl

 

 

 

 

 

Copyright © Photon Engineering, LLC