---
title: opacity
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/terrainlayerpaintrule/opacity
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/terraintools/terrainlayerpaintrule/opacity.md
last_updated: 2026-10-20
generated_at: 2026-11-11T12:58:34.279Z
locale: en-us
---

# opacity

> The opacity, from 0 to 1. See TerrainLayerBlendMode. 1 by default.

## Definition

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

```csharp
public float opacity { get; set; }
```
