# GetAlphaKeys(Span<GradientAlphaKey>)

> Get all the alpha keys assigned to the gradient.

## Definition

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

```csharp
public void GetAlphaKeys(Span<GradientAlphaKey> keys)
```

### Parameters

**** (\[Span\<GradientAlphaKey>]\(https\://learn.microsoft.com/dotnet/api/system.span-1)):&#x20;
