Ray A ray with origin and direction. Since: 0.4.0 Properties origin ray.origin: Vector3 The origin point of the ray. direction ray.direction: Vector3 The direction of the ray, a unit vector.