Rect2 Constructor |
| Name | Description | |
|---|---|---|
| Rect2(Vector2, Vector2) |
Constructs a Rect2 from a position and size.
| |
| Rect2(Single, Single, Vector2) |
Constructs a Rect2 from x, y, and size.
| |
| Rect2(Vector2, Single, Single) |
Constructs a Rect2 from a position, width, and height.
| |
| Rect2(Single, Single, Single, Single) |
Constructs a Rect2 from x, y, width, and height.
|