Funzione
Solo bleeding edge
Vector2D.Lerp
Returns the linear interpolation between this vector and another vector by the given alpha
Non ancora tradotto
Sintassi
my_vector2_d:Lerp(other, alpha)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
other
|
Vector2D | — | The vector to interpolate to |
alpha
|
number | — | The interpolation alpha, where 0 returns this vector and 1 returns the other vector |
Valore restituito
- Vector2D the interpolated vector