Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LerpUnclamped(Color, Color, float)

Linearly interpolates between colors a and b by t.
Read time 1 minuteLast updated 13 days 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.