RayNamespace: UnityEngine
Description

Representation of rays.

A ray is an infinite line starting at origin and going in some direction.
Variables
direction The direction of the ray.
origin The origin point 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.