Matrix4 Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a 4x4 Matrix
[System.Serializable]
public struct Matrix4 : IEquatable<OpenTK.Matrix4>
type Matrix4 = struct
- Inheritance
-
Matrix4
- Attributes
- Implements
Constructors
| Matrix4(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single) |
Constructs a new instance. |
| Matrix4(Vector4, Vector4, Vector4, Vector4) |
Constructs a new instance. |
Fields
| Identity |
The identity matrix |
| Row0 |
Top row of the matrix |
| Row1 |
2nd row of the matrix |
| Row2 |
3rd row of the matrix |
| Row3 |
Bottom row of the matrix |
Properties
| Column0 |
The first column of this matrix |
| Column1 |
The second column of this matrix |
| Column2 |
The third column of this matrix |
| Column3 |
The fourth column of this matrix |
| Determinant |
The determinant of this matrix |
| M11 |
Gets or sets the value at row 1, column 1 of this instance. |
| M12 |
Gets or sets the value at row 1, column 2 of this instance. |
| M13 |
Gets or sets the value at row 1, column 3 of this instance. |
| M14 |
Gets or sets the value at row 1, column 4 of this instance. |
| M21 |
Gets or sets the value at row 2, column 1 of this instance. |
| M22 |
Gets or sets the value at row 2, column 2 of this instance. |
| M23 |
Gets or sets the value at row 2, column 3 of this instance. |
| M24 |
Gets or sets the value at row 2, column 4 of this instance. |
| M31 |
Gets or sets the value at row 3, column 1 of this instance. |
| M32 |
Gets or sets the value at row 3, column 2 of this instance. |
| M33 |
Gets or sets the value at row 3, column 3 of this instance. |
| M34 |
Gets or sets the value at row 3, column 4 of this instance. |
| M41 |
Gets or sets the value at row 4, column 1 of this instance. |
| M42 |
Gets or sets the value at row 4, column 3 of this instance. |
| M43 |
Gets or sets the value at row 4, column 3 of this instance. |
| M44 |
Gets or sets the value at row 4, column 4 of this instance. |
Methods
Operators
| Equality(Matrix4, Matrix4) | |
| Inequality(Matrix4, Matrix4) | |
| Multiply(Matrix4, Matrix4) |