Vector3Lerp(Vector3, Vector3, Double) 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 Vector3 Lerp(
Vector3 v1,
Vector3 v2,
double amount
)
Parameters
- v1 Vector3
- The first vector.
- v2 Vector3
- The second vector.
- amount Double
- A value between 0 and 1 that indicates the weight of v2.
Return Value
Vector3The interpolated vector.
See Also