Plane.Raycast Manual     Reference     Scripting  
Scripting > Runtime Classes > Plane

function Raycast (ray : Ray, out enter : float) : bool


Intersects a ray with the plane.

This function sets enter to the distance along the ray, where it intersects the plane. If the ray is parallel to the plane, function returns false and sets enter to zero.