Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso Solo bleeding edge

Vector2D.Lerp

Returns the linear interpolation between this vector and another vector by the given alpha

Non ancora tradotto

Sintassi

Lua
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