Click or drag to resize

Matrix3 Structure

Represents a matrix with 3 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 Matrix3 : IEquatable<Matrix3>, 
	IEquatableByRef<Matrix3>, INearlyEquatable<Matrix3>, INearlyEquatableByRef<Matrix3>

The Matrix3 type exposes the following members.

Constructors
  NameDescription
Public methodMatrix3
Initializes a new instance of the Matrix3 struct with the given values.
Top
Properties
Methods
  NameDescription
Public methodEquals(Object)
Gets a value indicating whether the components of this Matrix3 are the same as the components of the second specified Matrix3.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Matrix3)
Indicates whether the current Matrix3 is equal to another Matrix3.
Public methodEquals(Matrix3)
Indicates whether the current Matrix3 is equal to another Matrix3. 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(Matrix3)
Indicates whether the current Matrix3 is nearly equal to another Matrix3.
Public methodNearlyEquals(Matrix3)
Indicates whether the current Matrix3 is nearly equal to another Matrix3. Structures are passed by reference to avoid stack structure copying.
Public methodToString
Gets a string describing the components of this Matrix3.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value indicating whether the components of Matrix3 first specified Matrix3 are the same as the components of the second specified Matrix3.
Public operatorStatic memberInequality
Gets a value indicating whether the components of the first specified Matrix3 are not the same as the components of the second specifiedMatrix3.
Public operatorStatic memberMultiply
Multiplicates the first Matrix3 with the second one.
Top
Fields
  NameDescription
Public fieldStatic memberColumns
Gets the number of columns.
Public fieldStatic memberIdentity
The identity Matrix3 which causes no transformations to happen.
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 fieldM13
The value in the first row and the third 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 fieldM23
The value in the second row and the third 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 fieldM33
The value in the third row and the third 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 Matrix3 with all components being 0f.
Top
See Also