Method GetLerp
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
GetLerp(float, float, Color, Color)
Creates a ResponseCurveColor that linearly interpolates between two colors over a given input range.
public static ResponseCurveColor GetLerp(float x0, float x1, Color y0, Color y1)
Parameters
x0floatThe minimum input value.
x1floatThe maximum input value.
y0ColorThe output color at
x0.y1ColorThe output color at
x1.