# GetAlphamapTexture(int)

> Returns the alphamap texture at the specified index.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TerrainModule

```csharp
public Texture2D GetAlphamapTexture(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index of the alphamap.

### Returns

| Type                                                                  | Description                              |
| --------------------------------------------------------------------- | ---------------------------------------- |
| [Texture2D](/engine/6000.7/script-reference/unityengine/texture2d.md) | Alphamap texture at the specified index. |
