Rectangle(Rect)
Creates a rectangular region.
Read time 1 minuteLast updated 22 days ago
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public static TerrainRegion Rectangle(Rect rect)
Parameters
The rectangle in meters. Its width and height must be greater than zero.
Returns
Type | Description |
|---|---|
| TerrainRegion | The new region. |