Table of Contents

Method Lerp

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

Lerp(Color, Color, float)

Linearly interpolates between the given colors in HSL color space.

public static Color Lerp(Color color1, Color color2, float t)

Parameters

color1 Color
color2 Color
t float

Returns

Color

Lerp(ColorHSL, ColorHSL, float)

Linearly interpolates between the given colors in HSL color space.

public static ColorHSL Lerp(ColorHSL color1, ColorHSL color2, float t)

Parameters

color1 ColorHSL
color2 ColorHSL
t float

Returns

ColorHSL