Skip to main content

Mathf.LerpUnclamped(number a, number b, number t)

Linearly interpolates between a and b by t with no limit to t.

Parameters:

NameTypeDescription
anumberThe start value.
bnumberThe end value.
tnumberThe interpolation between the two floats.

Returns:

typeDescription
numberThe float value as a result from the linear interpolation.

Usage

---@type number
local a;

---@type number
local b;

---@type number
local t;


local val0 = Mathf:LerpUnclamped(a, b, t)