Color.LerpUnclamped(Color a, Color b, number t )
Linearly interpolates between colors a and b by t.
Parameters:
Name | Type | Description |
---|---|---|
a | Color | Color a |
b | Color | Color b |
t | number | number t |
Returns:
type | Description |
---|---|
Color | interpolated Color |
Usage
---@type Color
local a;
---@type Color
local b;
---@type number
local t ;
local val0 = Color:LerpUnclamped(a, b, t )
Extra Detail
When t is 0 returns a. When t is 1 returns b.