|
Matrix3x2Lerp Method
|
Linearly interpolates from matrix1 to matrix2, based on the third parameter.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Matrix3x2 Lerp(
Matrix3x2 matrix1,
Matrix3x2 matrix2,
double amount
)
Public Shared Function Lerp (
matrix1 As Matrix3x2,
matrix2 As Matrix3x2,
amount As Double
) As Matrix3x2
public:
static Matrix3x2 Lerp(
Matrix3x2 matrix1,
Matrix3x2 matrix2,
double amount
)
static member Lerp :
matrix1 : Matrix3x2 *
matrix2 : Matrix3x2 *
amount : float -> Matrix3x2
Parameters
- matrix1
- Type: Karamba.GeometryMatrix3x2
The first source matrix. - matrix2
- Type: Karamba.GeometryMatrix3x2
The second source matrix. - amount
- Type: SystemDouble
The relative weighting of matrix2.
Return Value
Type:
Matrix3x2The interpolated matrix.
See Also