Navigation: Scripting Reference Manual > Functions & Subroutines > SetRayY

 

SetRayY

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the y 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

SetRayY id, posY

 

Parameters

id As Long (or Huge_)

Identifier of the raytrace control.

 

posY As Double

New Y component of the position vector.

 

Remarks

This subroutine sets the y position of a specified ray. If there is a problem, the subroutine sets an error and returns without modifying the ray.

 

See Also

SetRayActive

SetRayDirection

SetRayPathLength

SetRayPostition

SetRayPower

SetRayX

SetRayZ

Examples

Raydata GetSet

 

 

 

 

 

Copyright © Photon Engineering, LLC