Skip to content

format

typescript
Gradient.Evaluate(time)

class: Gradient

description

Calculates the color value of a gradient at a specified time point.

parameter

param_nametypedescription
timenumberThe time point.

reture

typedescription
ColorThe color value of the gradient at the specified time point.

code example