struct GradientKey

A color/position pair for Gradient values!

Instance Fields and Properties

Color color The color for this item, preferably in some form of linear color space. Gamma corrected colors will definitely not math correctly.
float position Typically a value between 0-1! This is the position of the color along the ‘x-axis’ of the gradient.

Instance Methods

GradientKey A basic copy constructor for GradientKey.

Found an issue with these docs, or have some additional questions? Create an Issue on Github!