Table of Contents

Class GradientLAB

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

Represents a gradient of ColorLAB.

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

Remarks

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

Constructors

GradientLAB()

Initializes a new instance of the GradientLAB class.

GradientLAB(ColorLAB, ColorLAB)

Initializes a new instance of the GradientLAB class that represents a linear interpolation between two colors.

Methods

GetLerp(ColorLAB, ColorLAB)

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