FloatMotionAdapter
Linearly interpolate the Float endpoints at the eased Progress.
public readonly struct FloatMotionAdapter : IMotionAdapter<float, NoOptions>, IFloatComponentsMotionAdapters.cs · L25Members
Evaluate
Read endpoints and options by reference and return the sampled value for the evaluation context.
public float Evaluate(ref float startValue, ref float endValue, ref NoOptions options, in MotionEvaluationContext context)Parameters and return value
startValueref floatStarting value.endValueref floatEnd value.optionsref NoOptionsOptions passed to this value adapter.contextin MotionEvaluationContextEased Progress and elapsed Time in seconds.- Returns
float
MeatMotion