Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / Matrix3x2 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 (Matrix3x2)
    In This Topic
    Performs a linear interpolation between two matrices based on the given weighting.
    Syntax
    'Declaration
     
    Public Shared Function Lerp( _
       ByRef matrix1 As Matrix3x2, _
       ByRef matrix2 As Matrix3x2, _
       ByVal amount As System.Single _
    ) As Matrix3x2
    public static Matrix3x2 Lerp( 
       ref Matrix3x2 matrix1,
       ref Matrix3x2 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