ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX Namespace / Matrix5x4 Structure / LerpRef Method
When the method completes, contains an the interpolated matrix.
The first matrix.
The second matrix.
A value between 0 and 1 that indicates the weight of matrix2.

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

    Parameters

    result
    When the method completes, contains an the interpolated matrix.
    matrix1
    The first matrix.
    matrix2
    The second matrix.
    amount
    A value between 0 and 1 that indicates the weight of matrix2.
    See Also