# IntMotionAdapter

Interpolate and round the result to Int using IntegerOptions.

Namespace: MeatMotion.Adapters

Assembly: MeatMotion

```csharp
public readonly struct IntMotionAdapter : IMotionAdapter<int, IntegerOptions>, IProgressOnlyAdapter
```

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

## Evaluate

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

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

Parameters and return value

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

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