| ray | The 3D ray defining origin and direction to test. | 
| distance | Maximum distance over which to cast the ray. | 
| layerMask | Filter to detect colliders only on certain layers. | 
| results | Array to receive results. | 
Cast a 3D ray against the colliders in the scene returning the colliders along the ray.