MinMaxRect(float, float, float, float)
Creates a rectangle from min/max coordinate values.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static Rect MinMaxRect(float xmin, float ymin, float xmax, float ymax)
Parameters
Returns
Type | Description |
|---|---|
| Rect | A rectangle matching the specified coordinates. |