Navigation: Scripting Reference Manual > Functions & Subroutines > GetRayY

 

GetRayY

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the Y coordinate of 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

y = GetRayY ( id )

 

Parameters

y (Double)

Returns the Y coordinate component of the specified ray.

 

id As Long (or Huge_)

Identifier for the ray.

 

Remarks

This function retrieves the Y coordinate (in global coordinates) of a specified ray. If there is a problem it toggles an error and returns 0.

 

See Also

AddRay

GetRay

SetRay

GetRayX

GetRayZ

 

 

 

 

 

Copyright © Photon Engineering, LLC