Summary

Describes a gradient between multiple colors

Constructors

Gradient

Properties

Alphas A list of color stops, which should be ordered by time
Blending The blend mode
Colors A list of color stops, which should be ordered by time
Item

Methods

AddAlpha Add an alpha position
AddColor Add a color position
Evaluate Evaluate the blend using the time, which is generally between 0 and 1
FixOrder If the lists aren't in time order for some reason, this will fix them. This should really just be called when serializing, and in every other situation we should assume they're okay.
WithFrames

Static Methods

PaintBlock
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.