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

Script language

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

Color32.LerpUnclamped

public static Color32 LerpUnclamped(Color32 a, Color32 b, float t);

Description

Linearly interpolates between colors a and b by t.

When t is 0 returns a. When t is 1 returns b.

See Also: Lerp.