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