---
title: TerrainPaintSettings
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/terrainpaintsettings
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/terraintools/terrainpaintsettings.md
last_updated: 2026-10-20
generated_at: 2026-11-11T15:49:26.341Z
locale: en-us
---

# TerrainPaintSettings

> Settings for TerrainEditUtility.PaintLayers.

## Definition

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

```csharp
public sealed class TerrainPaintSettings
```

## Constructors

| Constructor                                                                                                     | Description                                                                |
| --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [TerrainPaintSettings()](/engine/7000.0/script-reference/unityeditor/terraintools/terrainpaintsettings/ctor.md) | Creates settings that blend with a hard edge and no dominant layer filter. |

## Properties

| Property                                                                                                                          | Description                                                                                                                                                                                                                                                                               |
| --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [blendMode](/engine/7000.0/script-reference/unityeditor/terraintools/terrainpaintsettings/blendmode.md)                           | How the rules change the layer weights. [TerrainLayerBlendMode.Blend](/engine/7000.0/script-reference/unityeditor/terraintools/terrainlayerblendmode/blend.md) by default.                                                                                                                |
| [dominantLayerExpansion](/engine/7000.0/script-reference/unityeditor/terraintools/terrainpaintsettings/dominantlayerexpansion.md) | The distance in meters by which to grow the area that [TerrainPaintSettings.dominantLayerFilter](/engine/7000.0/script-reference/unityeditor/terraintools/terrainpaintsettings/dominantlayerfilter.md) selects, measured as the Euclidean distance between alphamap texels. 0 by default. |
| [dominantLayerFilter](/engine/7000.0/script-reference/unityeditor/terraintools/terrainpaintsettings/dominantlayerfilter.md)       | When set, paint only texels whose dominant layer before painting (the layer with the highest weight) is one of these layer indices. Null by default.                                                                                                                                      |
| [falloff](/engine/7000.0/script-reference/unityeditor/terraintools/terrainpaintsettings/falloff.md)                               | The fraction of the region, from 0 to 1, over which the paint fades at its edge. See [TerrainRegion.GetWeight](/engine/7000.0/script-reference/unityeditor/terraintools/terrainregion/getweight.md).                                                                                      |
