ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.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( _
       ByVal matrix1 As Matrix3x2, _
       ByVal matrix2 As Matrix3x2, _
       ByVal amount As System.Single _
    ) As Matrix3x2
    public static Matrix3x2 Lerp( 
       Matrix3x2 matrix1,
       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