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