SetGradientColour  Top  Previous  Next



Success = SetGradientColour(Gradient.i, Position.f, Colour.l)



Sets the colour of a previously created gradient at a certain position in that gradient.

Gradient.i is a handle to a gradient. Position.f specifies at what position in the gradient the colour will be set and must be a floating point number from 0 to 1, e.g. 0.5 would set the colour at halfway in the gradient.


Returns true for success.



Colours & Images Index