# DoubleMotionAdapter

Linearly interpolate the Double endpoints at the eased Progress.

Namespace: MeatMotion.Adapters

Assembly: MeatMotion

```csharp
public readonly struct DoubleMotionAdapter : IMotionAdapter<double, NoOptions>, IProgressOnlyAdapter
```

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

## Evaluate

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

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

Parameters and return value

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

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