|
static bool | Intersects (this Rect rect, Rect other) |
| Test if this rect intersects with another rect. More...
|
|
static bool | Intersects (this Rect rect, IEnumerable< Rect > rects) |
| Test if this rect intersects with any rects in the list. More...
|
|
static Vector3[] | Vertices (this Rect r, float grow=0) |
| Convert the rect to an array of vertices. More...
|
|
static bool UniExtensions.UnityRectExtensions.Intersects |
( |
this Rect |
rect, |
|
|
Rect |
other |
|
) |
| |
|
inlinestatic |
Test if this rect intersects with another rect.
- Parameters
-
- Returns
- A System.Boolean
static bool UniExtensions.UnityRectExtensions.Intersects |
( |
this Rect |
rect, |
|
|
IEnumerable< Rect > |
rects |
|
) |
| |
|
inlinestatic |
Test if this rect intersects with any rects in the list.
- Parameters
-
rect | A Rect |
rects | A IEnumerable(Rect) The list of rects to check against. |
- Returns
- A System.Boolean
static Vector3 [] UniExtensions.UnityRectExtensions.Vertices |
( |
this Rect |
r, |
|
|
float |
grow = 0 |
|
) |
| |
|
inlinestatic |
Convert the rect to an array of vertices.
- Parameters
-
The documentation for this class was generated from the following file: