Vector3HLerp(Vector3H, Vector3H, HalfType, Vector3H) 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 void Lerp(
ref Vector3H v1,
ref Vector3H v2,
HalfType amount,
out Vector3H result
)
Parameters
- v1 Vector3H
- The first vector.
- v2 Vector3H
- The second vector.
- amount HalfType
- A value between 0 and 1 that indicates the weight of v2.
- result Vector3H
- When the method completes, contains the linear interpolation of the two vectors.
See Also