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.

See Also