[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.LerpRef

LerpRef Method

LerpRef(out Matrix4x4, ref Matrix4x4, ref Matrix4x4, float)

Performs a linear interpolation between two matrices based on the given weighting.

Declaration
public static void LerpRef(out Matrix4x4 result, ref Matrix4x4 matrix1, ref Matrix4x4 matrix2, float amount)
Public Shared Sub LerpRef(ByRef result As Matrix4x4, ByRef matrix1 As Matrix4x4, ByRef matrix2 As Matrix4x4, amount As Single)
Parameters
Type Name Description
Matrix4x4 result

When the method completes, contains an the interpolated matrix.

Matrix4x4 matrix1

The first matrix.

Matrix4x4 matrix2

The second matrix.

float amount

A value between 0 and 1 that indicates the weight of matrix2.