Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Gradient.colorKeys

var colorKeys: GradientColorKey[];
GradientColorKey[] colorKeys;
colorKeys as GradientColorKey[]

Description

All color keys defined in the gradient.

Note that the color keys will be automatically sorted by time value and that it is ensured to always have a minimum of 2 color keys.