# GradientAlphaKey(float, float)

> Gradient alpha key.

## Definition

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

```csharp
public GradientAlphaKey(float alpha, float time)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Alpha of key (0 - 1).**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Time of the key (0 - 1).
