GradientKey.GradientKey
void GradientKey(Color colorLinear, float position)
A basic copy constructor for GradientKey.
Color colorLinear | 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. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!