Click or drag to resize

Matrix4x2 Structure

Represents a matrix with 4 rows and 3 columns in row-major notation.

Namespace:  Syroot.Maths
Assembly:  Syroot.Maths (in Syroot.Maths.dll) Version: 1.5.3
Syntax
public struct Matrix4x2 : IEquatable<Matrix4x2>, 
	IEquatableByRef<Matrix4x2>, INearlyEquatable<Matrix4x2>, INearlyEquatableByRef<Matrix4x2>

The Matrix4x2 type exposes the following members.

Constructors
  NameDescription
Public methodMatrix4x2
Initializes a new instance of the Matrix4x2 struct with the given values.
Top
Properties
Methods
  NameDescription
Public methodEquals(Object)
Gets a value indicating whether the components of this Matrix4x2 are the same as the components of the second specified Matrix4x2.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Matrix4x2)
Indicates whether the current Matrix4x2 is equal to another Matrix4x2.
Public methodEquals(Matrix4x2)
Indicates whether the current Matrix4x2 is equal to another Matrix4x2. Structures are passed by reference to avoid stack structure copying.
Public methodGetHashCode
Gets a hash code as an indication for object equality.
(Overrides ValueTypeGetHashCode.)
Public methodNearlyEquals(Matrix4x2)
Indicates whether the current Matrix4x2 is nearly equal to another Matrix4x2.
Public methodNearlyEquals(Matrix4x2)
Indicates whether the current Matrix4x2 is nearly equal to another Matrix4x2. Structures are passed by reference to avoid stack structure copying.
Public methodToString
Gets a string describing the components of this Matrix4x2.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value indicating whether the components of Matrix4 first specified Matrix4x2 are the same as the components of the second specified Matrix2x3.
Public operatorStatic memberInequality
Gets a value indicating whether the components of the first specified Matrix4x2 are not the same as the components of the second specifiedMatrix4x2.
Top
Fields
  NameDescription
Public fieldStatic memberColumns
Gets the number of columns.
Public fieldM11
The value in the first row and the first column.
Public fieldM12
The value in the first row and the second column.
Public fieldM21
The value in the second row and the first column.
Public fieldM22
The value in the second row and the second column.
Public fieldM31
The value in the third row and the first column.
Public fieldM32
The value in the third row and the second column.
Public fieldM41
The value in the fourth row and the first column.
Public fieldM42
The value in the fourth row and the second column.
Public fieldStatic memberRows
Gets the number of rows.
Public fieldStatic memberSizeInBytes
Gets the size of this structure.
Public fieldStatic memberValueCount
Gets the amount of value types required to represent this structure.
Public fieldStatic memberZero
A Matrix4x2 with all components being 0f.
Top
See Also