Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Ray

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.