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