Click or drag to resize

Vector2DLerp Method (Vector2D, Vector2D, Single)

Linearly interpolates between two vectors by t.

Namespace:  LightBuzz
Assembly:  LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Vector2D Lerp(
	Vector2D vector1,
	Vector2D vector2,
	float t
)

Parameters

vector1
Type: LightBuzzVector2D
The first vector.
vector2
Type: LightBuzzVector2D
The second vector.
t
Type: SystemSingle
A proportion between 0 and 1.

Return Value

Type: Vector2D
The resulting vector.
See Also