Navigation: Scripting Reference Manual > Functions & Subroutines > SetRayZ

 

SetRayZ

 

Contact Us: fredsupport@photonengr.com

 

Description

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

SetRayZ id, posZ

 

Parameters

id As Long (or Huge_)

Identifier of the raytrace control.

 

posZ As Double

New Z component of the position vector.

 

Remarks

This subroutine sets the z 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

SetRayY

Examples

Raydata GetSet

 

 

 

 

 

Copyright © Photon Engineering, LLC