Click or drag to resize

Vector3HLerp Method (Vector3H, Vector3H, HalfType)

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

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

Parameters

v1
Type: NeoAxisVector3H
The first vector.
v2
Type: NeoAxisVector3H
The second vector.
amount
Type: NeoAxisHalfType
A value between 0 and 1 that indicates the weight of v2.

Return Value

Type: Vector3H
The interpolated vector.
See Also