ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / Matrix4x4 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 (Matrix4x4)
    In This Topic
    Performs a linear interpolation between two matrices based on the given weighting.
    Syntax
    'Declaration
     
    Public Shared Function Lerp( _
       ByVal matrix1 As Matrix4x4, _
       ByVal matrix2 As Matrix4x4, _
       ByVal amount As Single _
    ) As Matrix4x4
    public static Matrix4x4 Lerp( 
       Matrix4x4 matrix1,
       Matrix4x4 matrix2,
       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