Vector2.Lerp(Vector2 a, Vector2 b, number t)
Linearly interpolates between vectors a and b by t.
Parameters:
Name | Type | Description |
---|---|---|
a | Vector2 | a |
b | Vector2 | b |
t | number | t |
Returns:
type | Description |
---|---|
Vector2 | result |
Usage
---@type Vector2
local a;
---@type Vector2
local b;
---@type number
local t;
local val0 = Vector2:Lerp(a, b, t)