Description Retrieves the wavelength 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 w = GetRayWavelength ( id )
Parameters w (Double) The wavelength of the specified ray.
id As Long (or Huge_) Identifier for the ray.
Remarks This function retrieves the wavelength of a specified ray. If there is a problem, the function sets an error and returns a value of 0.
The wavelength is returned in units of microns.
See Also Examples
|