Click or drag to resize

Vector2HLerp(Vector2H, Vector2H, HalfType) Method

Performs a linear interpolation between two vectors based on the given weighting.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static Vector2H Lerp(
	Vector2H v1,
	Vector2H v2,
	HalfType amount
)

Parameters

v1  Vector2H
The first vector.
v2  Vector2H
The second vector.
amount  HalfType
A value between 0 and 1 that indicates the weight of v2.

Return Value

Vector2H
The interpolated vector.
See Also