Table of Contents

Method Lerp

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

Lerp(ColorHSL, ColorHSL, float)

Linearly interpolates between the two given samples.

protected override ColorHSL Lerp(ColorHSL outputSampleMin, ColorHSL outputSampleMax, float t)

Parameters

outputSampleMin ColorHSL

The value when t is less than or equal to 0.

outputSampleMax ColorHSL

The value when t is greater than or equal to 1.

t float

The fraction of the minimum sample to use.

Returns

ColorHSL