Navigation: Scripting Reference Manual > Functions & Subroutines > IsRayOnEntityArray

 

IsRayOnEntityArray

 

Contact Us: fredsupport@photonengr.com

 

Description

Returns True if a particular ray is on an arrayed entity.  Depending on the number of rays traced, it may be necessary to dimension ray index and ray counter variables as data type Huge_ instead of Long.  Please see Multi-threaded Raytracing for more information.

 

Syntax

onEntity = IsRayOnEntityArray ( id )

 

Parameters

onEntity (Boolean)

The status of the ray in regards to the entity array.

 

id As Long (or Huge_)

The identifier of the ray.

 

Remarks

This function returns True if a particular ray is on an arrayed entity. If there is a problem the function sets an error and returns 0.

 

See Also

GetRayEntityArrayIndices 

Examples

Raydata GetSet

 

 

 

 

 

Copyright © Photon Engineering, LLC