math. lerp
functionimplementedavailable in: camelot
Linearly interpolates between two values.
function math.lerp( startValue: number, endValue: number, amount: number): numberParameters
| name | type | description |
|---|---|---|
startValue | number | The value returned when the interpolation amount is 0. |
endValue | number | The value returned when the interpolation amount is 1. |
amount | number | The interpolation amount. Values outside [0, 1] extrapolate beyond the two values. |
Returns
interpolatedValue · number · The interpolated value.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (LuaMathExtensions system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.