Click or drag to resize

MatrixLerp Method

Creates a new Matrix that contains linear interpolation of the values in specified matrices.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Matrix Lerp(
	Matrix matrix1,
	Matrix matrix2,
	float amount
)

Parameters

matrix1
Type: SampSharp.Entities.SAMPMatrix
The first Matrix.
matrix2
Type: SampSharp.Entities.SAMPMatrix
The second Vector2.
amount
Type: SystemSingle
Weighting value(between 0.0 and 1.0).

Return Value

Type: Matrix
>The result of linear interpolation of the specified matrices.
See Also