public static OverlapPointNonAlloc ( Vector2 point, Collider2D results, [ layerMask, [ minDepth, [ maxDepth ) : int | ||
point | Vector2 | A point in space. |
results | Collider2D | Array to receive results. |
layerMask | [ | Filter to check objects only on specific layers. |
minDepth | [ | Only include objects with a Z coordinate (depth) greater than or equal to this value. |
maxDepth | [ | Only include objects with a Z coordinate (depth) less than or equal to this value. |
return | int |
Physics2D::OverlapPointNonAlloc ( Vector2 point, Collider2D results ) : int | |
Physics2D::OverlapPointNonAlloc ( Vector2 point, Collider2D results, int layerMask ) : int | |
Physics2D::OverlapPointNonAlloc ( Vector2 point, Collider2D results, int layerMask, float minDepth ) : int |