Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / Vector3 Structure / Lerp Method
The first vector.
The second vector.
A value between 0 and 1 that indicates the weight of value2.

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

    Parameters

    value1
    The first vector.
    value2
    The second vector.
    amount
    A value between 0 and 1 that indicates the weight of value2.

    Return Value

    The interpolated vector.
    See Also