Mathf.SmoothStep(number from, number to, number t)
Interpolates between min and max with smoothing at the limits.
Parameters:
Name | Type | Description |
---|---|---|
from | number | from |
to | number | to |
t | number | t |
Returns:
type | Description |
---|---|
number | Interpolated value between min and max with smoothing at the limits. |
Usage
---@type number
local from;
---@type number
local to;
---@type number
local t;
local val0 = Mathf:SmoothStep(from, to, t)