Ray Manual     Reference     Scripting  
Scripting > Runtime Classes > Ray
Ray Struct

Representation of rays.

A ray is an infinite line starting at origin and going in some direction.

Variables
origin

The origin point of the ray.

direction

The direction of the ray.

Constructors
Ray

Creates a ray starting at origin along direction.

Functions
GetPoint

Returns a point at distance units along the ray.

ToString

Returns a nicely formatted string for this ray.