RectMotionAdapter
Interpolate position and size separately and return the resulting Rect.
public readonly struct RectMotionAdapter : IMotionAdapter<Rect, NoOptions>, IFloatComponentsMotionAdapters.cs · L85Members
Evaluate
Read endpoints and options by reference and return the sampled value for the evaluation context.
public Rect Evaluate(ref Rect startValue, ref Rect endValue, ref NoOptions options, in MotionEvaluationContext context)Parameters and return value
startValueref RectStarting value.endValueref RectEnd value.optionsref NoOptionsOptions passed to this value adapter.contextin MotionEvaluationContextEased Progress and elapsed Time in seconds.- Returns
Rect
MeatMotion