Creates a MinMaxGradient that generates a constant color.
Creates a MinMaxGradient that generates color between a minimum constant color and a maximum constant color.
Creates a MinMaxGradient that generates a color from a gradient.
Creates a MinMaxGradient that generates a color from a minimum gradient and a maximum gradient.
Set a constant color
Set a constant color for the upper bound.
Set a constant color for the lower bound.
Set the gradient.
Set a gradient for the upper bound.
Set a gradient for the lower bound.
Set the mode that the min-max gradient will use to evaluate colors.
Query the color at the specified time.
Normalized time at which to evaluate the gradient, Valid when mode
is set to Gradient
or TwoGradients
.
Optional
randomBetween0And1: number = ...Lerp factor between two constants or gradients, Valid when mode
is set to TwoColors
, TwoGradients
, 'RandomColor'.
Static
fromJSONDeserialize
Min max gradient
Export
MinMaxGradient
Date
2024.3.18
Author
yisky