Vector4Lerp(Vector4, Vector4, Double, Vector4) Method |
Creates a new
Vector4 that contains linear interpolation of the specified vectors.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic static void Lerp(
ref Vector4 value1,
ref Vector4 value2,
double amount,
out Vector4 result
)
Public Shared Sub Lerp (
ByRef value1 As Vector4,
ByRef value2 As Vector4,
amount As Double,
<OutAttribute> ByRef result As Vector4
)
Parameters
- value1 Vector4
- The first vector.
- value2 Vector4
- The second vector.
- amount Double
- Weighting value(between 0.0 and 1.0).
- result Vector4
- The result of linear interpolation of the specified vectors as an output parameter.
See Also