FMatrix4GetDeterminant Method

Return the determinant of the provided matrix.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static float GetDeterminant(
	FMatrix4 matrix
)

Parameters

matrix  FMatrix4
Reference to the matrix from which the determinant will be calculated.

Return Value

Single
The the unique solution of the linear equations of the matrix, if available. Otherwise, zero.

Remarks

The method checks for the value of SkipDeterminantPrecheck to determine whether or not to perform low-cost analytical pre-tests that result in zero prior to running the full determinant calculation.

See Also