Gradient.Gradient

Gradient()

Creates a new, completely empty gradient.

Gradient(GradientKey[] keys)

   
GradientKey[] keys These can be in any order that you like, they’ll be sorted by their GradientKey.position value regardless!

Creates a new gradient from the list of color keys!