# Vector2PunchMotionAdapter

Compute the Vector2 sample for a punch tween from its starting value and strength.

Namespace: MeatMotion.Adapters

Assembly: MeatMotion

```csharp
public readonly struct Vector2PunchMotionAdapter : IMotionAdapter<Vector2, PunchOptions>, IProgressOnlyAdapter, IVibrationAdapter
```

[Runtime/Adapters/Vibration/VibrationMotion.cs · L180](../../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L180)

## 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 PunchOptions options, in MotionEvaluationContext context)
```

Parameters and return value

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

[Runtime/Adapters/Vibration/VibrationMotion.cs · L182](../../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L182)
