# Matrix Members

**XNA Game Studio Express**

The following tables list the members exposed by the Matrix type.

Name | Description | |
---|---|---|

M11 | Value at row 1 column 1 of the matrix. | |

M12 | Value at row 1 column 2 of the matrix. | |

M13 | Value at row 1 column 3 of the matrix. | |

M14 | Value at row 1 column 4 of the matrix. | |

M21 | Value at row 2 column 1 of the matrix. | |

M22 | Value at row 2 column 2 of the matrix. | |

M23 | Value at row 2 column 3 of the matrix. | |

M24 | Value at row 2 column 4 of the matrix. | |

M31 | Value at row 3 column 1 of the matrix. | |

M32 | Value at row 3 column 2 of the matrix. | |

M33 | Value at row 3 column 3 of the matrix. | |

M34 | Value at row 3 column 4 of the matrix. | |

M41 | Value at row 4 column 1 of the matrix. | |

M42 | Value at row 4 column 2 of the matrix. | |

M43 | Value at row 4 column 3 of the matrix. | |

M44 | Value at row 4 column 4 of the matrix. |

Name | Description | |
---|---|---|

Backward | Gets and sets the backward vector of the Matrix. | |

Down | Gets and sets the down vector of the Matrix. | |

Forward | Gets and sets the forward vector of the Matrix. | |

Identity | Returns an instance of the identity matrix. | |

Left | Gets and sets the left vector of the Matrix. | |

Right | Gets and sets the right vector of the Matrix. | |

Translation | Gets and sets the translation vector of the Matrix. | |

Up | Gets and sets the up vector of the Matrix. |

Name | Description | |
---|---|---|

Add | Overloaded. Adds a matrix to another matrix. | |

CreateBillboard | Overloaded. Creates a spherical billboard that rotates around a specified object position. | |

CreateConstrainedBillboard | Overloaded. Creates a cylindrical billboard that rotates around a specified axis. | |

CreateFromAxisAngle | Overloaded. Creates a new Matrix that rotates around an arbitrary vector. | |

CreateFromQuaternion | Overloaded. Creates a rotation Matrix from a Quaternion. | |

CreateFromYawPitchRoll | Overloaded. Creates a new rotation matrix from a specified yaw, pitch, and roll. | |

CreateLookAt | Overloaded. Creates a view matrix. | |

CreateOrthographic | Overloaded. Builds an orthogonal projection matrix. | |

CreateOrthographicOffCenter | Overloaded. Builds a customized, orthogonal projection matrix. | |

CreatePerspective | Overloaded. Builds a perspective projection matrix. | |

CreatePerspectiveFieldOfView | Overloaded. Builds a perspective projection matrix based on a field of view. | |

CreatePerspectiveOffCenter | Overloaded. Builds a customized, perspective projection matrix. | |

CreateReflection | Overloaded. Creates a Matrix that reflects the coordinate system about a specified Plane. | |

CreateRotationX | Overloaded. Returns an x-axis rotation matrix. | |

CreateRotationY | Overloaded. Returns a y-axis rotation matrix. | |

CreateRotationZ | Overloaded. Returns an z-axis rotation matrix. | |

CreateScale | Overloaded. Creates a scaling Matrix. | |

CreateShadow | Overloaded. Creates a Matrix that flattens geometry into a specified Plane as if casting a shadow from a specified light source. | |

CreateTranslation | Overloaded. Creates a translation Matrix. | |

Decompose | Extracts the scalar, translation, and rotation components from a 3D scale/rotate/translate (SRT) Matrix. | |

Determinant | Calculates the determinant of the matrix. | |

Divide | Overloaded. Divides a matrix by a scalar value or the components of another matrix. | |

Equals | Overloaded. Returns a value that indicates whether the current instance is equal to a specified object. | |

GetHashCode | Gets the hash code of this object. | |

GetType | (Inherited from Object.) | |

Invert | Overloaded. Calculates the inverse of a matrix. | |

Lerp | Overloaded. Linearly interpolates between the corresponding values of two matrices. | |

Multiply | Overloaded. Multiplies a matrix by a scalar value or another matrix. | |

Negate | Overloaded. Negates individual elements of a matrix. | |

op_Addition | Adds a matrix to another matrix. | |

op_Division | Overloaded. Divides a matrix by a scalar value or the components of another matrix. | |

op_Equality | Compares a matrix for equality with another matrix. | |

op_Inequality | Tests a matrix for inequality with another matrix. | |

op_Multiply | Overloaded. Multiplies a matrix by a scalar value or another matrix. | |

op_Subtraction | Subtracts matrices. | |

op_UnaryNegation | Negates individual elements of a matrix. | |

ReferenceEquals | (Inherited from Object.) | |

Subtract | Overloaded. Subtracts matrices. | |

ToString | Retrieves a string representation of the current object. | |

Transform | Overloaded. Transforms a Matrix by applying a Quaternion rotation. | |

Transpose | Overloaded. Transposes the rows and columns of a matrix. |

Name | Description | |
---|---|---|

Finalize | (Inherited from Object.) | |

MemberwiseClone | (Inherited from Object.) |

Show: