|
Matrix4x4Lerp Method
|
Linearly interpolates between the corresponding values of two matrices.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Matrix4x4 Lerp(
Matrix4x4 matrix1,
Matrix4x4 matrix2,
double amount
)
Public Shared Function Lerp (
matrix1 As Matrix4x4,
matrix2 As Matrix4x4,
amount As Double
) As Matrix4x4
public:
static Matrix4x4 Lerp(
Matrix4x4 matrix1,
Matrix4x4 matrix2,
double amount
)
static member Lerp :
matrix1 : Matrix4x4 *
matrix2 : Matrix4x4 *
amount : float -> Matrix4x4
Parameters
- matrix1
- Type: Karamba.GeometryMatrix4x4
The first source matrix. - matrix2
- Type: Karamba.GeometryMatrix4x4
The second source matrix. - amount
- Type: SystemDouble
The relative weight of the second source matrix.
Return Value
Type:
Matrix4x4The interpolated matrix.
See Also