[]
        
(Showing Draft Content)

C1.Util.DX.Matrix3x2.Lerp

Lerp Method

Lerp(Matrix3x2, Matrix3x2, float)

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

Declaration
public static Matrix3x2 Lerp(Matrix3x2 matrix1, Matrix3x2 matrix2, float amount)
Parameters
Type Name Description
Matrix3x2 matrix1

The first matrix.

Matrix3x2 matrix2

The second matrix.

float amount

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

Returns
Type Description
Matrix3x2

The interpolated matrix.