ax.ease¶
Source: gamemode/framework/libraries/sh_ease.lua
Easing functions for lerping values.
Documented functions: 1
Functions¶
ax.ease:Lerp(easeType, time, startValue, endValue)¶
Lerp a value, color, vector, or angle using an easing function.
Realm: shared
Parameters
| Name | Type | Description |
|---|---|---|
easeType |
The |
type of easing function to use (e.g., "InOutQuad") |
time |
The |
time value (0 to 1) to interpolate between startValue and endValue. |
startValue |
The |
starting value for the interpolation (number, color table, vector, or angle). |
endValue |
The |
ending value for the interpolation (number, color table, vector, or angle). |
Returns
The: interpolated value based on the easing function.