Performs Alloc.
Optionaloptions: { Options object for the function call.
OptionalisInternalConstructor: booleanReturns the duration over which the gradient values are interpolated over. Corresponds to the time value of the final keyframe.
Determines if all color values have an alpha value of at least 1.0f
Returns the number of color keys in the gradient.
Returns the color key at the specified index. If out of range an empty key is returned.
Gets the current gradient keys.
Sets the gradient keys.
The gradient keys.
Optional, the duration of the gradient. If not set, the duration is inferred from the time of the keys.
Represents a range of color values over some parameters, similar to a curve. Internally represented as a set of keys that get interpolated between. Capable of representing HDR colors, unlike the normal ColorGradient.