MinMaxRect(float, float, float, float)
Creates a rectangle from min/max coordinate values.
阅读时间1 分钟最后更新于 1 个月前
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. |