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