Gradient.Get
Color Get(float at)
Samples the gradient’s color at the given position!
float at | Typically a value between 0-1, but if you used larger or smaller values for your color key’s positions, it’ll be in that range! |
RETURNS: Color | The interpolated color at the given position. If ‘at’ is smaller or larger than the gradient’s position range, then the color will be clamped to the color at the beginning or end of the gradient! |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!