Optional
collisionOptional
maxOptionally specify the maximum distance in pixels to ray cast, default is Infinity
Optional
searchOptionally specify to search for all colliders that intersect the ray cast, not just the first which is the default
Optionally specify a collision group to consider in the ray cast, default is All