ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX Namespace / Vector3 Structure / LerpRef Method
When the method completes, contains an the interpolated vector.
The first vector.
The second vector.
A value between 0 and 1 that indicates the weight of value2.

In This Topic
    LerpRef Method (Vector3)
    In This Topic
    Performs a linear interpolation between two vectors based on the given weighting.
    Syntax
    'Declaration
     
    Public Shared Sub LerpRef( _
       ByRef result As Vector3, _
       ByRef value1 As Vector3, _
       ByRef value2 As Vector3, _
       ByVal amount As System.Single _
    ) 
    public static void LerpRef( 
       out Vector3 result,
       ref Vector3 value1,
       ref Vector3 value2,
       System.float amount
    )

    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