Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Matrix Methods

The Matrix type exposes the following members.

  Name Description
Public method Static member Add(Matrix, Matrix) Adds a matrix to another matrix.
Public method Static member Add(Matrix, Matrix, Matrix) Adds a matrix to another matrix.
Public method Static member CreateBillboard(Vector3, Vector3, Vector3, Nullable<Vector3>) Creates a spherical billboard that rotates around a specified object position.
Public method Static member CreateBillboard(Vector3, Vector3, Vector3, Nullable<Vector3>, Matrix) Creates a spherical billboard that rotates around a specified object position.
Public method Static member CreateConstrainedBillboard(Vector3, Vector3, Vector3, Nullable<Vector3>, Nullable<Vector3>) Creates a cylindrical billboard that rotates around a specified axis.
Public method Static member CreateConstrainedBillboard(Vector3, Vector3, Vector3, Nullable<Vector3>, Nullable<Vector3>, Matrix) Creates a cylindrical billboard that rotates around a specified axis.
Public method Static member CreateFromAxisAngle(Vector3, Single) Creates a new Matrix that rotates around an arbitrary vector.
Public method Static member CreateFromAxisAngle(Vector3, Single, Matrix) Creates a new Matrix that rotates around an arbitrary vector.
Public method Static member CreateFromQuaternion(Quaternion) Creates a rotation Matrix from a Quaternion.
Public method Static member CreateFromQuaternion(Quaternion, Matrix) Creates a rotation Matrix from a Quaternion.
Public method Static member CreateFromYawPitchRoll(Single, Single, Single) Creates a new rotation matrix from a specified yaw, pitch, and roll.
Public method Static member CreateFromYawPitchRoll(Single, Single, Single, Matrix) Fills in a rotation matrix from a specified yaw, pitch, and roll.
Public method Static member CreateLookAt(Vector3, Vector3, Vector3) Creates a view matrix.
Public method Static member CreateLookAt(Vector3, Vector3, Vector3, Matrix) Creates a view matrix.
Public method Static member CreateOrthographic(Single, Single, Single, Single) Builds an orthogonal projection matrix.
Public method Static member CreateOrthographic(Single, Single, Single, Single, Matrix) Builds an orthogonal projection matrix.
Public method Static member CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single) Builds a customized, orthogonal projection matrix.
Public method Static member CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single, Matrix) Builds a customized, orthogonal projection matrix.
Public method Static member CreatePerspective(Single, Single, Single, Single) Builds a perspective projection matrix and returns the result by value.
Public method Static member CreatePerspective(Single, Single, Single, Single, Matrix) Builds a perspective projection matrix and returns the result by reference.
Public method Static member CreatePerspectiveFieldOfView(Single, Single, Single, Single) Builds a perspective projection matrix based on a field of view and returns by value.
Public method Static member CreatePerspectiveFieldOfView(Single, Single, Single, Single, Matrix) Builds a perspective projection matrix based on a field of view and returns by reference.
Public method Static member CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single) Builds a customized, perspective projection matrix.
Public method Static member CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single, Matrix) Builds a customized, perspective projection matrix.
Public method Static member CreateReflection(Plane) Creates a Matrix that reflects the coordinate system about a specified Plane.
Public method Static member CreateReflection(Plane, Matrix) Fills in an existing Matrix so that it reflects the coordinate system about a specified Plane.
Public method Static member CreateRotationX(Single) Returns a matrix that can be used to rotate a set of vertices around the x-axis.
Public method Static member CreateRotationX(Single, Matrix) Populates data into a user-specified matrix that can be used to rotate a set of vertices around the x-axis.
Public method Static member CreateRotationY(Single) Returns a matrix that can be used to rotate a set of vertices around the y-axis.
Public method Static member CreateRotationY(Single, Matrix) Populates data into a user-specified matrix that can be used to rotate a set of vertices around the y-axis.
Public method Static member CreateRotationZ(Single) Returns a matrix that can be used to rotate a set of vertices around the z-axis.
Public method Static member CreateRotationZ(Single, Matrix) Populates data into a user-specified matrix that can be used to rotate a set of vertices around the z-axis.
Public method Static member CreateScale(Single) Creates a scaling Matrix.
Public method Static member CreateScale(Vector3) Creates a scaling Matrix.
Public method Static member CreateScale(Single, Matrix) Creates a scaling Matrix.
Public method Static member CreateScale(Vector3, Matrix) Creates a scaling Matrix.
Public method Static member CreateScale(Single, Single, Single) Creates a scaling Matrix.
Public method Static member CreateScale(Single, Single, Single, Matrix) Creates a scaling Matrix.
Public method Static member CreateShadow(Vector3, Plane) Creates a Matrix that flattens geometry into a specified Plane as if casting a shadow from a specified light source.
Public method Static member CreateShadow(Vector3, Plane, Matrix) Fills in a Matrix to flatten geometry into a specified Plane as if casting a shadow from a specified light source.
Public method Static member CreateTranslation(Vector3) Creates a translation Matrix.
Public method Static member CreateTranslation(Vector3, Matrix) Creates a translation Matrix.
Public method Static member CreateTranslation(Single, Single, Single) Creates a translation Matrix.
Public method Static member CreateTranslation(Single, Single, Single, Matrix) Creates a translation Matrix.
Public method Static member CreateWorld(Vector3, Vector3, Vector3) Creates a world matrix with the specified parameters.
Public method Static member CreateWorld(Vector3, Vector3, Vector3, Matrix) Creates a world matrix with the specified parameters.
Public method Decompose Extracts the scalar, translation, and rotation components from a 3D scale/rotate/translate (SRT) Matrix.
Public method Determinant Calculates the determinant of the matrix.
Public method Static member Divide(Matrix, Matrix) Divides the components of a matrix by the corresponding components of another matrix.
Public method Static member Divide(Matrix, Single) Divides the components of a matrix by a scalar.
Public method Static member Divide(Matrix, Matrix, Matrix) Divides the components of a matrix by the corresponding components of another matrix.
Public method Static member Divide(Matrix, Single, Matrix) Divides the components of a matrix by a scalar.
Public method Equals(Object) Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Public method Equals(Matrix) Determines whether the specified Object is equal to the Matrix.
Public method GetHashCode Gets the hash code of this object. (Overrides ValueType.GetHashCode().)
Public method Static member Invert(Matrix) Calculates the inverse of a matrix.
Public method Static member Invert(Matrix, Matrix) Calculates the inverse of a matrix.
Public method Static member Lerp(Matrix, Matrix, Single) Linearly interpolates between the corresponding values of two matrices.
Public method Static member Lerp(Matrix, Matrix, Single, Matrix) Linearly interpolates between the corresponding values of two matrices.
Public method Static member Multiply(Matrix, Matrix) Multiplies a matrix by another matrix.
Public method Static member Multiply(Matrix, Single) Multiplies a matrix by a scalar value.
Public method Static member Multiply(Matrix, Matrix, Matrix) Multiplies a matrix by another matrix.
Public method Static member Multiply(Matrix, Single, Matrix) Multiplies a matrix by a scalar value.
Public method Static member Negate(Matrix) Negates individual elements of a matrix.
Public method Static member Negate(Matrix, Matrix) Negates individual elements of a matrix.
Public method Static member Subtract(Matrix, Matrix) Subtracts matrices.
Public method Static member Subtract(Matrix, Matrix, Matrix) Subtracts matrices.
Public method ToString Retrieves a string representation of the current object. (Overrides ValueType.ToString().)
Public method Static member Transform(Matrix, Quaternion) Transforms a Matrix by applying a Quaternion rotation.
Public method Static member Transform(Matrix, Quaternion, Matrix) Transforms a Matrix by applying a Quaternion rotation.
Public method Static member Transpose(Matrix) Transposes the rows and columns of a matrix.
Public method Static member Transpose(Matrix, Matrix) Transposes the rows and columns of a matrix.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.