Documentation

Unity Engine

Download Unity

Unity Engine

colorKeys

All color keys defined in the gradient.
Read time 1 minuteLast updated a day ago

Definition

public GradientColorKey[] colorKeys { get; set; }

Remarks

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.