Documentation

Unity Engine

Unity Engine

LerpUnclamped(Color, Color, float)

Linearly interpolates between colors a and b by t.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Color LerpUnclamped(Color a, Color b, float t)

Parameters

Returns

Type

Description

Color

Remarks

When t is 0 returns a. When t is 1 returns b.
Additional Resources: Color.Lerp.