Modifier

Partager via


Vector2.Lerp Method

Definition

Overloads

Lerp(Vector2, Vector2, Single)
Lerp(Vector2, Vector2, Single, Vector2)

Lerp(Vector2, Vector2, Single)

public static OpenTK.Vector2 Lerp (OpenTK.Vector2 a, OpenTK.Vector2 b, float blend);
static member Lerp : OpenTK.Vector2 * OpenTK.Vector2 * single -> OpenTK.Vector2

Parameters

blend
Single

Returns

Applies to

Lerp(Vector2, Vector2, Single, Vector2)

public static void Lerp (ref OpenTK.Vector2 a, ref OpenTK.Vector2 b, float blend, out OpenTK.Vector2 result);
static member Lerp :  *  * single *  -> unit

Parameters

blend
Single
result
Vector2

Applies to