|www.progui.co.uk Top Previous Next|
Colour.l = GetGradientColour(Gradient.i, Position.f)
Returns 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 retrieved from and must be a floating point number from 0 to 1, e.g. 0.5 would get the colour at halfway in the gradient.