# Interpolate<T> delegate

Namespace: [Grasshopper2.UI.Animation](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.animation.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public delegate Interpolate<T>
```

Interpolation delegate.

**Type parameters:**

- `T`: Type to interpolate.

**Signature:**

```cs
T Interpolate<T>(T value0, T value1, double factor)
```

**Parameters:**

- `value0` (`T`): First value.
- `value1` (`T`): Second value.
- `factor` ([double](https://learn.microsoft.com/dotnet/api/system.double)): Normalised interpolation factor.
