Matrix Members
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Describes and manipulates a matrix.
The Matrix type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add | Adds two matrices. | |
AffineTransformation2D | Builds a 2-D affine transformation matrix in the xy plane. | |
Equals | Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for the current instance. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invert | Overloaded. Calculates the inverse of a matrix. | |
LookAtLH | Builds a left-handed look-at matrix. | |
LookAtRH | Builds a right-handed look-at matrix. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Multiply | Overloaded. Determines the product of two matrices. | |
MultiplyTranspose | Overloaded. Calculates the transposed product of two matrices. | |
OrthoLH | Builds a left-handed orthogonal projection matrix. | |
OrthoOffCenterLH | Builds a customized, left-handed orthogonal projection matrix. | |
OrthoOffCenterRH | Builds a customized, right-handed orthogonal projection matrix. | |
OrthoRH | Builds a right-handed orthogonal projection matrix. | |
PerspectiveFovLH | Builds a left-handed perspective projection matrix based on a field of view. | |
PerspectiveFovRH | Builds a right-handed perspective projection matrix based on a field of view (FOV). | |
PerspectiveLH | Builds a left-handed perspective projection matrix. | |
PerspectiveOffCenterLH | Builds a customized, left-handed perspective projection matrix. | |
PerspectiveOffCenterRH | Builds a customized, right-handed perspective projection matrix. | |
PerspectiveRH | Builds a right-handed perspective projection matrix. | |
RotationAxis | Rotates the matrix around an arbitrary axis. | |
RotationQuaternion | Builds a matrix from a quaternion. | |
RotationX | Builds a matrix that rotates around the x-axis. | |
RotationY | Builds a matrix that rotates around the y-axis. | |
RotationYawPitchRoll | Builds a matrix with a specified yaw, pitch, and roll. | |
RotationZ | Builds a matrix that rotates around the z-axis. | |
Scaling | Overloaded. Builds a matrix that scales along the x-axis, y-axis, and z-axis. | |
Subtract | Subtracts one matrix from another. | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
Transformation | Builds a transformation matrix. | |
Transformation2D | Builds a 2-D transformation matrix in the xy plane. | |
Translation | Overloaded. Builds a matrix using specified offsets. | |
TransposeMatrix | Returns the matrix transpose of a given matrix. |
Top
Operators
Name | Description | |
---|---|---|
Addition | Adds two instances of the Matrix structure. | |
Equality | Compares the specified matrices to determine whether they are the same. | |
Inequality | Compares the specified matrices to determine whether they are different. | |
Multiply | Determines the product of two matrices. | |
Subtraction | Subtracts two instances of the Matrix structure. |
Top
Fields
Name | Description | |
---|---|---|
M11 | Represents the element in the first row and the first column of the matrix. | |
M12 | Represents the element in the first row and the second column of the matrix. | |
M13 | Represents the element in the first row and the third column of the matrix. | |
M14 | Represents the element in the first row and the fourth column of the matrix. | |
M21 | Represents the element in the second row and the first column of the matrix. | |
M22 | Represents the element in the second row and the second column of the matrix. | |
M23 | Represents the element in the second row and the third column of the matrix. | |
M24 | Represents the element in the second row and the fourth column of the matrix. | |
M31 | Represents the element in the third row and the first column of the matrix. | |
M32 | Represents the element in the third row and the second column of the matrix. | |
M33 | Represents the element in the third row and the third column of the matrix. | |
M34 | Represents the element in the third row and the fourth column of the matrix. | |
M41 | Represents the element in the fourth row and the first column of the matrix. | |
M42 | Represents the element in the fourth row and the second column of the matrix. | |
M43 | Represents the element in the fourth row and the third column of the matrix. | |
M44 | Represents the element in the fourth row and the fourth column of the matrix. |
Top
Properties
Name | Description | |
---|---|---|
Determinant | Gets the determinant of the matrix. | |
Identity | Gets an identity matrix. | |
Zero | Gets an empty matrix. |
Top