# LongMotionAdapter

Interpolate and round the result to Long using IntegerOptions.

Namespace: MeatMotion.Adapters

Assembly: MeatMotion

```csharp
public readonly struct LongMotionAdapter : IMotionAdapter<long, IntegerOptions>, IProgressOnlyAdapter
```

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

## Evaluate

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

```csharp
public long Evaluate(ref long startValue, ref long endValue, ref IntegerOptions options, in MotionEvaluationContext context)
```

Parameters and return value

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

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