# SetAlphaTexture(Texture)

> The Alpha Texture that will be passed to the Shader under the _AlphaTex property.

## Definition

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

```csharp
public void SetAlphaTexture(Texture texture)
```

### Parameters

**** (\[Texture]\(/engine/6000.0/script-reference/unityengine/texture)): The Texture to be passed.
