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

In This Topic
    Lerp Method (Matrix5x4)
    In This Topic
    Performs a linear interpolation between two matrices based on the given weighting.
    Syntax
    'Declaration
     
    Public Shared Function Lerp( _
       ByRef matrix1 As Matrix5x4, _
       ByRef matrix2 As Matrix5x4, _
       ByVal amount As System.Single _
    ) As Matrix5x4
    public static Matrix5x4 Lerp( 
       ref Matrix5x4 matrix1,
       ref Matrix5x4 matrix2,
       System.float amount
    )

    Parameters

    matrix1
    The first matrix.
    matrix2
    The second matrix.
    amount
    A value between 0 and 1 that indicates the weight of matrix2.

    Return Value

    The interpolated matrix.
    See Also