In This Topic
Performs a linear interpolation between two vectors based on the given weighting.
Syntax
'Declaration
Public Shared Sub LerpRef( _
ByRef As Vector4, _
ByRef As Vector4, _
ByRef As Vector4, _
ByVal As System.Single _
)
public static void LerpRef(
out Vector4 ,
ref Vector4 ,
ref Vector4 ,
System.float
)
Parameters
- result
- When the method completes, contains an the interpolated vector.
- value1
- The first vector.
- value2
- The second vector.
- amount
- A value between 0 and 1 that indicates the weight of value2.
See Also