Description Returns the total surface intersect count for a specified ray. 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 nintersects = GetRayIntersects ( id )
Parameters nintersects (Long) Returns the total number of surface intersects for the specified ray.
id as Long (or Huge_) Identifier of the ray.
Remarks This function returns the total intersect count for a specified ray. If there is a problem, the function toggles an error and returns a value of -1.
See Also
|