# QuaternionMotionAdapter

Interpolate rotations with Quaternion.LerpUnclamped.

Namespace: MeatMotion.Adapters

Assembly: MeatMotion

```csharp
public readonly struct QuaternionMotionAdapter : IMotionAdapter<Quaternion, NoOptions>, IProgressOnlyAdapter
```

[Runtime/Adapters/BuiltIn/MotionAdapters.cs · L73](../../../source/Runtime/Adapters/BuiltIn/MotionAdapters.cs.html#L73)

## Evaluate

Read endpoints and options by reference and return the sampled value for the evaluation context.

```csharp
public Quaternion Evaluate(ref Quaternion startValue, ref Quaternion endValue, ref NoOptions options, in MotionEvaluationContext context)
```

Parameters and return value

- `startValue` (`ref Quaternion`) Starting value.
- `endValue` (`ref Quaternion`) End value.
- `options` (`ref NoOptions`) Options passed to this value adapter.
- `context` (`in MotionEvaluationContext`) Eased Progress and elapsed Time in seconds.
- Returns: `Quaternion`

[Runtime/Adapters/BuiltIn/MotionAdapters.cs · L75](../../../source/Runtime/Adapters/BuiltIn/MotionAdapters.cs.html#L75)
