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