---
title: TerrainFlattenReference
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/terraintools/terrainflattenreference
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/terraintools/terrainflattenreference.md
last_updated: 2026-10-20
generated_at: 2026-11-13T17:07:54.713Z
locale: en-us
---

# TerrainFlattenReference

> The height of the region that TerrainSculptOperation.Flatten flattens to.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.TerrainTools](/engine/7000.0/script-reference/unityeditor/terraintools.md)
* **Assembly:** UnityEditor

```csharp
public enum TerrainFlattenReference
```

## Fields

| Value                                                                                                  | Description                           |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------- |
| [Maximum](/engine/7000.0/script-reference/unityeditor/terraintools/terrainflattenreference/maximum.md) | The highest height inside the region. |
| [Mean](/engine/7000.0/script-reference/unityeditor/terraintools/terrainflattenreference/mean.md)       | The mean height inside the region.    |
| [Minimum](/engine/7000.0/script-reference/unityeditor/terraintools/terrainflattenreference/minimum.md) | The lowest height inside the region.  |
