Vector2Lerp Method (Vector2, Vector2, Single) |
This is most commonly used to find a point some fraction of the way along a line between two endpoints When t = 0 returns a. When t = 1 returns b. When t = 0.5 returns the point midway between a and b.
Namespace: Microsoft.DirectX
public static Vector2 Lerp( Vector2 a, Vector2 b, float t )