Matrix Members
Describes and manipulates a matrix.
The following tables list the members exposed by the Matrix type.
Public 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
Public Properties
Name | Description | |
---|---|---|
Determinant | Gets the determinant of the matrix. | |
Identity | Gets an identity matrix. | |
Zero | Gets an empty matrix. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Add | Adds two matrices. | |
AffineTransformation2D | Builds a 2-D affine transformation matrix in the xy plane. | |
Equals | Overloaded. Overridden. | |
GetHashCode | Overridden. Returns the hash code for the current instance. | |
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. | |
Multiply | Overloaded. Determines the product of two matrices. | |
MultiplyTranspose | Overloaded. Calculates the transposed product of two matrices. | |
op_Addition | Adds two instances of the Matrix structure. | |
op_Equality | Compares the specified matrices to determine whether they are the same. | |
op_Inequality | Compares the specified matrices to determine whether they are different. | |
op_Multiply | Determines the product of two matrices. | |
op_Subtraction | Subtracts two instances of the Matrix structure. | |
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. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
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
Protected Methods
Name | Description | |
---|---|---|
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) | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Top
See Also
Reference
Matrix Structure
Microsoft.WindowsMobile.DirectX Namespace