Description Sets the x position 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 SetRayX id, posX
Parameters id As Long (or Huge_) Identifier of the raytrace control.
posX As Double New X component of the position vector.
Remarks This subroutine sets the x position of a specified ray. If there is a problem, the subroutine sets an error and returns without modifying the ray.
See Also Examples
|