# Matrix Methods

**XNA Game Studio 4.0**

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. Creates a matrix that can be used to rotate a set of vertices around the x-axis. | |

CreateRotationY | Overloaded. Creates a matrix that can be used to rotate a set of vertices around the y-axis. | |

CreateRotationZ | Overloaded. Creates a matrix that can be used to rotate a set of vertices around the z-axis. | |

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. | |

CreateWorld | Overloaded. Creates a world 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. | |

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.) |

## Community Additions

ADD
Show: