# Vector2MotionAdapter

Linearly interpolate the Vector2 endpoints at the eased Progress.

Namespace: MeatMotion.Adapters

Assembly: MeatMotion

```csharp
public readonly struct Vector2MotionAdapter : IMotionAdapter<Vector2, NoOptions>, IFloatComponents
```

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

## Evaluate

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

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

Parameters and return value

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

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