Matrix

Namespace: Murder.Core.Geometry
Assembly: Murder.dll

public sealed struct Matrix : IEquatable<T>

Implements a matrix within our engine. It can be converted to other matrix data types.

Implements: IEquatable<T>

⭐ Properties

Identity

public static Matrix Identity { get; }

Just a shorthand for Matrix.Identity for when you don't want to import the whole XNA Framework Matrix Library

Returns
Matrix

M11

public float M11;

A first row and first column value.

Returns
float

M12

public float M12;

A first row and second column value.

Returns
float

M13

public float M13;

A first row and third column value.

Returns
float

M14

public float M14;

A first row and fourth column value.

Returns
float

M21

public float M21;

A second row and first column value.

Returns
float

M22

public float M22;

A second row and second column value.

Returns
float

M23

public float M23;

A second row and third column value.

Returns
float

M24

public float M24;

A second row and fourth column value.

Returns
float

M31

public float M31;

A third row and first column value.

Returns
float

M32

public float M32;

A third row and second column value.

Returns
float

M33

public float M33;

A third row and third column value.

Returns
float

M34

public float M34;

A third row and fourth column value.

Returns
float

M41

public float M41;

A fourth row and first column value.

Returns
float

M42

public float M42;

A fourth row and second column value.

Returns
float

M43

public float M43;

A fourth row and third column value.

Returns
float

M44

public float M44;

A fourth row and fourth column value.

Returns
float

⭐ Methods

ToXnaMatrix()

public Matrix ToXnaMatrix()

Returns
Matrix

Equals(Matrix)

public virtual bool Equals(Matrix other)

Parameters
other Matrix

Returns
bool