Origin of the ray
Direction of the ray
First point of the line
Second point of the line
Optional
target: numberMinimum distance that must be met to return a result
Optional
intersection: IntersectionOptional Intersection object to contain information about the result
Whether there was an intersection or not
Casts a ray at a line and determines if there is an intersection