Table of Contents

Class ResponseCurveColor

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

A response curve with outputs of Color.

[Version(1, 2, 0)]
public class ResponseCurveColor : ResponseCurveBase<Color>, IResponseCurve<Color>
Inheritance
ResponseCurveColor
Implements
Inherited Members
Extension Methods

Constructors

ResponseCurveColor(IEnumerable<float>, IEnumerable<Color>)

Initializes a new instance of the ResponseCurveColor class.

Methods

GetLerp(float, float, Color, Color)

Creates a ResponseCurveColor that linearly interpolates between two colors over a given input range.

Lerp(Color, Color, float)

Linearly interpolates between the two given samples.