Version: 5.5 (switch to 5.6b)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Gradient.mode

public GradientMode mode;

Description

Control how the gradient is evaluated.

By default, when sampling the gradient, an interpolated color between 2 keys will be returned.