TerrainSculptOperation
How TerrainEditUtility.SculptHeights changes the heights inside a region.
Read time 1 minuteLast updated 22 days ago
Definition
- Type: Enum
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public enum TerrainSculptOperation
Fields
Value | Description |
|---|---|
| Flatten | Flattens the heights to the height of the region that TerrainSculptSettings.flattenReference picks. |
| Lower | Lowers the heights by TerrainSculptSettings.amount. |
| Raise | Raises the heights by TerrainSculptSettings.amount. |
| Set | Sets the heights to TerrainSculptSettings.height. |
| Smooth | Averages each height with its neighbors within TerrainSculptSettings.smoothRadius. |