Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Ray   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Ray
  • All Members
  • Variables
  • direction
  • origin
  • Constructors
  • Ray
  • Functions
  • GetPoint
  • ToString

Ray.direction  

var direction : Vector3

Description

The direction of the ray.

Direction is always a normalized vector. If you assign a vector of non unit length, it will be normalized.