IntMotionAdapter
Interpolate and round the result to Int using IntegerOptions.
public readonly struct IntMotionAdapter : IMotionAdapter<int, IntegerOptions>, IProgressOnlyAdapterMotionAdapters.cs · L37Members
Evaluate
Read endpoints and options by reference and return the sampled value for the evaluation context.
public int Evaluate(ref int startValue, ref int endValue, ref IntegerOptions options, in MotionEvaluationContext context)Parameters and return value
startValueref intStarting value.endValueref intEnd value.optionsref IntegerOptionsOptions passed to this value adapter.contextin MotionEvaluationContextEased Progress and elapsed Time in seconds.- Returns
int
MeatMotion