Description Sets the wavelength of a specified ray in the ray buffer. 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 SetRayWavelength id, wavelength
Parameters id As Long (or Huge_) Identifier of the raytrace control.
wavelength As Double New value of the ray's wavelength in microns.
Remarks This subroutine sets the wavelength of a specified ray in the ray buffer. If there is a problem, the subroutine sets an error and returns without modifying the ray.
See Also Examples
|