Skip to main content

ColorRange

ColorRange is a data type that represents a color range.

Constructors

NameDescription
ColorRange.New(Color min, Color max)Creates a new ColorRange with the set min and max values.
NameDescription
Color minThe minimum value
Color maxThe maximum value

Functions

NameDescription
ColorRange.Lerp(float t)Linearly interpolates colors min and max by t.

Summary