FMatrix2x2

public float M00

Language: C#

The element at row 0, column 0.

public float M01

Language: C#

The element at row 0, column 1.

public float M10

Language: C#

The element at row 1, column 0.

public float M11

Language: C#

The element at row 1, column 1.

public FMatrix2x2(float m00, float m01, float m10, float m11)

Language: C#

Initializes a new instance of the [] struct.

public FMatrix2x2(FMatrix2x2 other)

Language: C#

Initializes a new instance of the [] struct as copy of another matrix.

public static readonly FMatrix2x2 Identity = new(1, 0, 0, 1)

Language: C#

Return Value: new(1, 0, 0, 1)

Identity matrix.

public float Determinant { get; }

Language: C#

Determinant of the matrix.

public FMatrix2x2 Inverse { get; }

Language: C#

Inverse of the matrix.

public static void Scale(ref FMatrix2x2 matrix, float scale)

Language: C#

Scale matrix by a scalar.

public static FMatrix3x3 Expand(FMatrix2x2 matrix)

Language: C#

Expands matrix to 2x2 by inserting axis for homogeneous coordinates.

public FMatrix2x2 Transpose

Language: C#

Transposes this matrix.

public override string ToString()

Language: C#

Returns a string representation of the matrix.

public static operator FMatrix2x2 +(FMatrix2x2 a, FMatrix2x2 b)

Language: C#

Adds two matrices.

public static operator FMatrix2x2 -(FMatrix2x2 a, FMatrix2x2 b)

Language: C#

Subtracts two matrices.

public static operator FMatrix2x2 *(FMatrix2x2 matrix, float scalar)

Language: C#

Multiplies matrix by a scalar.

public static operator FMatrix2x2 *(float scalar, FMatrix2x2 matrix)

Language: C#

Multiplies matrix by a scalar.

public static operator FMatrix2x2 /(FMatrix2x2 matrix, float scalar)

Language: C#

Divides matrix by a scalar.

public static operator FMatrix2x2 /(float scalar, FMatrix2x2 matrix)

Language: C#

Divides scalar by a matrix.

public static operator FVector2 *(FMatrix2x2 matrix, FVector2 vector)

Language: C#

Multiplies matrix by vector.

public static operator FVector2 *(FVector2 vector, FMatrix2x2 matrix)

Language: C#

Multiplies vector by matrix.

public static operator FMatrix2x2 *(FMatrix2x2 a, FMatrix2x2 b)

Language: C#

Multiplies a FMatrix2x2 by a FMatrix2x2.

public static operator bool ==(FMatrix2x2 a, FMatrix2x2 b)

Language: C#

Checks if two matrices are equal.

public static operator bool !=(FMatrix2x2 a, FMatrix2x2 b)

Language: C#

Checks if two matrices are not equal.