Table of Contents

Class GradientHSL

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

Represents a gradient of HSL colors.

[Version(1, 0, 0)]
[Serializable]
public sealed class GradientHSL : Gradient<ColorHSL>
Inheritance
GradientHSL
Inherited Members
Extension Methods

Remarks

In general, it is better to use Gradient<TColor> (with type parameter ColorHSL). This class is necessary for the node editor to serialize the gradient-related nodes correctly.

Constructors

GradientHSL()

Construct a new HSL gradient.

GradientHSL(ColorHSL, ColorHSL)

Methods

GetLerp(ColorHSL, ColorHSL)

Returns a gradient that represents a linear interpolation between two colors.

SetKeys(IEnumerable<GradientHSLColorKey>)