pointA | One corner of the rectangle. |
pointB | Diagonally opposite corner of the rectangle. |
results | Array to receive results. |
layerMask | Filter to check objects only on specified layers. |
minDepth | Only include objects with a Z coordinate (depth) greater than this value. |
maxDepth | Only include objects with a Z coordinate (depth) less than this value. |
Get a list of all colliders that fall within a specified area.