DMatrix4x4
public double M00
Language: C#
The element at row 0, column 0.
public double M01
Language: C#
The element at row 0, column 1.
public double M02
Language: C#
The element at row 0, column 2.
public double M03
Language: C#
The element at row 0, column 3.
public double M10
Language: C#
The element at row 1, column 0.
public double M11
Language: C#
The element at row 1, column 1.
public double M12
Language: C#
The element at row 1, column 2.
public double M13
Language: C#
The element at row 1, column 3.
public double M20
Language: C#
The element at row 2, column 0.
public double M21
Language: C#
The element at row 2, column 1.
public double M22
Language: C#
The element at row 2, column 2.
public double M23
Language: C#
The element at row 2, column 3.
public double M30
Language: C#
The element at row 3, column 0.
public double M31
Language: C#
The element at row 3, column 1.
public double M32
Language: C#
The element at row 3, column 2.
public double M33
Language: C#
The element at row 3, column 3.
public DMatrix4x4(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33)
Language: C#
Initializes a new instance of the [
] struct.
public DMatrix4x4(DMatrix4x4 other)
Language: C#
Initializes a new instance of the [
] struct as copy of another matrix.
public static readonly DMatrix4x4 Identity = new(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
Language: C#
Return Value: new(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
Identity matrix.
public double Determinant { get; }
Language: C#
Determinant of the matrix.
public DMatrix4x4 Inverse { get; }
Language: C#
Inverse of the matrix.
public static void Scale(ref DMatrix4x4 matrix, double scale)
Language: C#
Scale matrix by a scalar.
public static void Translate(ref DMatrix4x4 matrix, DVector3 translation)
Language: C#
Translate matrix by a vector.
public static void Scale(ref DMatrix4x4 matrix, DVector3 scale)
Language: C#
Scale matrix by a vector.
public static void RotateX(ref DMatrix4x4 transform, float angle)
Language: C#
Rotates matrix around the X axis.
public static void RotateY(ref DMatrix4x4 transform, float angle)
Language: C#
Rotates matrix around the Y axis.
public static void RotateZ(ref DMatrix4x4 transform, float angle)
Language: C#
Rotates matrix around the Z axis.
public static void Rotate(ref DMatrix4x4 transform, DQuaternion rotation)
Language: C#
Rotates matrix by quaternion.
public DMatrix4x4 Transpose
Language: C#
Transposes this matrix.
public override string ToString()
Language: C#
Returns a string representation of the matrix.
public static operator DMatrix4x4 +(DMatrix4x4 a, DMatrix4x4 b)
Language: C#
Adds two matrices.
public static operator DMatrix4x4 -(DMatrix4x4 a, DMatrix4x4 b)
Language: C#
Subtracts two matrices.
public static operator DMatrix4x4 *(DMatrix4x4 matrix, double scalar)
Language: C#
Multiplies matrix by a scalar.
public static operator DMatrix4x4 *(double scalar, DMatrix4x4 matrix)
Language: C#
Multiplies matrix by a scalar.
public static operator DMatrix4x4 /(DMatrix4x4 matrix, double scalar)
Language: C#
Divides matrix by a scalar.
public static operator DMatrix4x4 /(double scalar, DMatrix4x4 matrix)
Language: C#
Divides scalar by a matrix.
public static operator DVector4 *(DMatrix4x4 matrix, DVector4 vector)
Language: C#
Multiplies matrix by vector.
public static operator DVector4 *(DVector4 vector, DMatrix4x4 matrix)
Language: C#
Multiplies vector by matrix.
public static operator DMatrix4x2 *(DMatrix4x4 a, DMatrix4x2 b)
Language: C#
Multiplies a DMatrix4x4 by a DMatrix4x2.
public static operator DMatrix4x3 *(DMatrix4x4 a, DMatrix4x3 b)
Language: C#
Multiplies a DMatrix4x4 by a DMatrix4x3.
public static operator DMatrix4x4 *(DMatrix4x4 a, DMatrix4x4 b)
Language: C#
Multiplies a DMatrix4x4 by a DMatrix4x4.
public static operator DMatrix2x4 *(DMatrix2x4 a, DMatrix4x4 b)
Language: C#
Multiplies a DMatrix2x4 by a DMatrix4x4 .
public static operator DMatrix3x4 *(DMatrix3x4 a, DMatrix4x4 b)
Language: C#
Multiplies a DMatrix3x4 by a DMatrix4x4 .
public static operator bool ==(DMatrix4x4 a, DMatrix4x4 b)
Language: C#
Checks if two matrices are equal.
public static operator bool !=(DMatrix4x4 a, DMatrix4x4 b)
Language: C#
Checks if two matrices are not equal.