Click or drag to resize

Vector2Lerp(Vector2, Vector2, Double) Method

Creates a new Vector2 that contains linear interpolation of the specified vectors.

Namespace: CFX.Structures.Geometry
Assembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntax
public static Vector2 Lerp(
	Vector2 value1,
	Vector2 value2,
	double amount
)

Parameters

value1  Vector2
The first vector.
value2  Vector2
The second vector.
amount  Double
Weighting value(between 0.0 and 1.0).

Return Value

Vector2
The result of linear interpolation of the specified vectors.
See Also