Vector2::Lerp Method
Performs a linear interpolation between two vectors based on the given weighting.
Namespace: System.Numerics
Assembly: System.Numerics.Vectors (in System.Numerics.Vectors.dll)
Parameters
- value1
- Type: System.Numerics::Vector2
The first vector.
- value2
- Type: System.Numerics::Vector2
The second vector.
- amount
- Type: System::Single
A value between 0 and 1 that indicates the weight of value2.
Show: