The Matrix4x4 type exposes the following members.

Methods

  NameDescription
Add
Adds corresponding components of two matrices.
CreateDiagonal
Creates a diagonal matrix using the specified vector as diagonal elements.
CreateFromColumns
Creates a matrix from 4 columns specified as vectors.
CreateFromRotation
Creates 4x4 tranformation matrix from 3x3 rotation matrix.
CreateFromRows
Creates a matrix from 4 rows specified as vectors.
CreateFromYawPitchRoll
Creates rotation matrix to rotate an object around X, Y and Z axes.
CreateLookAt
Creates a view matrix for the specified camera position and target point.
CreatePerspective
Creates a perspective projection matrix.
CreateRotationX
Creates rotation matrix around X axis.
CreateRotationY
Creates rotation matrix around Y axis.
CreateRotationZ
Creates rotation matrix around Z axis.
CreateTranslation
Creates translation matrix for the specified movement amount.
EqualsOverloaded.
ExtractYawPitchRoll
Extract rotation angles from the rotation matrix.
GetColumn
Get column of the matrix.
GetHashCode
Returns the hashcode for this instance.
(Overrides ValueType..::.GetHashCode()()().)
GetRow
Get row of the matrix.
MultiplyOverloaded.
Subtract
Subtracts corresponding components of two matrices.
ToArray
Returns array representation of the matrix.

Operators

  NameDescription
Addition
Adds corresponding components of two matrices.
Equality
Tests whether two specified matrices are equal.
Inequality
Tests whether two specified matrices are not equal.
MultiplyOverloaded.
Subtraction
Subtracts corresponding components of two matrices.

Fields

  NameDescription
V00
Row 0 column 0 element of the matrix.
V01
Row 0 column 1 element of the matrix.
V02
Row 0 column 2 element of the matrix.
V03
Row 0 column 3 element of the matrix.
V10
Row 1 column 0 element of the matrix.
V11
Row 1 column 1 element of the matrix.
V12
Row 1 column 2 element of the matrix.
V13
Row 1 column 3 element of the matrix.
V20
Row 2 column 0 element of the matrix.
V21
Row 2 column 1 element of the matrix.
V22
Row 2 column 2 element of the matrix.
V23
Row 2 column 3 element of the matrix.
V30
Row 3 column 0 element of the matrix.
V31
Row 3 column 1 element of the matrix.
V32
Row 3 column 2 element of the matrix.
V33
Row 3 column 3 element of the matrix.

Properties

  NameDescription
Identity
Provides an identity matrix with all diagonal elements set to 1.

See Also