| Description | |
|---|---|
| time | Time of the evaluation (0 - 1). |
Calculate color at a given time.
Gradient color and alpha keys are blended and interpolated depending on the gradient mode.
Unity clamps the colors and alpha if you use a value for time that's smaller than 0 or larger than 1.
Additional resources: mode, GradientMode, SetKeys.