Vector2FLerp(Vector2F, Vector2F, Single) Method |
Performs a linear interpolation between two vectors based on the given weighting.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static Vector2F Lerp(
Vector2F v1,
Vector2F v2,
float amount
)
Parameters
- v1 Vector2F
- The first vector.
- v2 Vector2F
- The second vector.
- amount Single
- A value between 0 and 1 that indicates the weight of v2.
Return Value
Vector2FThe interpolated vector.
See Also