Gradient.Add

void Add(Color colorLinear, float position)

This adds a color key into the list. It’ll get inserted to the right slot based on its position.

   
Color colorLinear Any linear space color you like!
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!