This version of Unity is unsupported.

Gradient.Evaluate

Declaration

public Color Evaluate(float time);

Parameters

time Time of the evaluation (0 - 1).

Description

Calculate color at a given time.

Gradient color and alpha keys are blended and interpolated depending on the gradient mode.

See Also: mode, GradientMode, SetKeys.