# Rotation.Lerp

```csharp
static Rotation Lerp(Rotation a, Rotation b, float frac, bool clamp = True)
```

Perform a linear interpolation from a to b by given amount.

### Parameters

- `a` (`Rotation`)
- `b` (`Rotation`)
- `frac` (`float`)
- `clamp` (`bool`), default `True`

### Returns

`Rotation`

Declared in [Rotation](/api/Rotation).
Assembly: `Sandbox.System`.
