共用方式為


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
Public methodStatic memberSupported by the .NET Compact Framework Add Adds two matrices.
Public methodStatic memberSupported by the .NET Compact Framework AffineTransformation2D Builds a 2-D affine transformation matrix in the xy plane.
Public methodSupported by the .NET Compact Framework Equals Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Protected methodSupported by the .NET Compact Framework 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.)
Public methodSupported by the .NET Compact Framework GetHashCode Returns the hash code for the current instance. (Overrides ValueType.GetHashCode().)
Public methodSupported by the .NET Compact Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact Framework Invert Overloaded. Calculates the inverse of a matrix.
Public methodStatic memberSupported by the .NET Compact Framework LookAtLH Builds a left-handed look-at matrix.
Public methodStatic memberSupported by the .NET Compact Framework LookAtRH Builds a right-handed look-at matrix.
Protected methodSupported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact Framework Multiply Overloaded. Determines the product of two matrices.
Public methodStatic memberSupported by the .NET Compact Framework MultiplyTranspose Overloaded. Calculates the transposed product of two matrices.
Public methodStatic memberSupported by the .NET Compact Framework OrthoLH Builds a left-handed orthogonal projection matrix.
Public methodStatic memberSupported by the .NET Compact Framework OrthoOffCenterLH Builds a customized, left-handed orthogonal projection matrix.
Public methodStatic memberSupported by the .NET Compact Framework OrthoOffCenterRH Builds a customized, right-handed orthogonal projection matrix.
Public methodStatic memberSupported by the .NET Compact Framework OrthoRH Builds a right-handed orthogonal projection matrix.
Public methodStatic memberSupported by the .NET Compact Framework PerspectiveFovLH Builds a left-handed perspective projection matrix based on a field of view.
Public methodStatic memberSupported by the .NET Compact Framework PerspectiveFovRH Builds a right-handed perspective projection matrix based on a field of view (FOV).
Public methodStatic memberSupported by the .NET Compact Framework PerspectiveLH Builds a left-handed perspective projection matrix.
Public methodStatic memberSupported by the .NET Compact Framework PerspectiveOffCenterLH Builds a customized, left-handed perspective projection matrix.
Public methodStatic memberSupported by the .NET Compact Framework PerspectiveOffCenterRH Builds a customized, right-handed perspective projection matrix.
Public methodStatic memberSupported by the .NET Compact Framework PerspectiveRH Builds a right-handed perspective projection matrix.
Public methodStatic memberSupported by the .NET Compact Framework RotationAxis Rotates the matrix around an arbitrary axis.
Public methodStatic memberSupported by the .NET Compact Framework RotationQuaternion Builds a matrix from a quaternion.
Public methodStatic memberSupported by the .NET Compact Framework RotationX Builds a matrix that rotates around the x-axis.
Public methodStatic memberSupported by the .NET Compact Framework RotationY Builds a matrix that rotates around the y-axis.
Public methodStatic memberSupported by the .NET Compact Framework RotationYawPitchRoll Builds a matrix with a specified yaw, pitch, and roll.
Public methodStatic memberSupported by the .NET Compact Framework RotationZ Builds a matrix that rotates around the z-axis.
Public methodStatic memberSupported by the .NET Compact Framework Scaling Overloaded. Builds a matrix that scales along the x-axis, y-axis, and z-axis.
Public methodStatic memberSupported by the .NET Compact Framework Subtract Subtracts one matrix from another.
Public methodSupported by the .NET Compact Framework ToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact Framework Transformation Builds a transformation matrix.
Public methodStatic memberSupported by the .NET Compact Framework Transformation2D Builds a 2-D transformation matrix in the xy plane.
Public methodStatic memberSupported by the .NET Compact Framework Translation Overloaded. Builds a matrix using specified offsets.
Public methodStatic memberSupported by the .NET Compact Framework TransposeMatrix Returns the matrix transpose of a given matrix.

Top

Operators

  Name Description
Public operatorStatic memberSupported by the .NET Compact Framework Addition Adds two instances of the Matrix structure.
Public operatorStatic memberSupported by the .NET Compact Framework Equality Compares the specified matrices to determine whether they are the same.
Public operatorStatic memberSupported by the .NET Compact Framework Inequality Compares the specified matrices to determine whether they are different.
Public operatorStatic memberSupported by the .NET Compact Framework Multiply Determines the product of two matrices.
Public operatorStatic memberSupported by the .NET Compact Framework Subtraction Subtracts two instances of the Matrix structure.

Top

Fields

  Name Description
Public fieldSupported by the .NET Compact Framework M11 Represents the element in the first row and the first column of the matrix.
Public fieldSupported by the .NET Compact Framework M12 Represents the element in the first row and the second column of the matrix.
Public fieldSupported by the .NET Compact Framework M13 Represents the element in the first row and the third column of the matrix.
Public fieldSupported by the .NET Compact Framework M14 Represents the element in the first row and the fourth column of the matrix.
Public fieldSupported by the .NET Compact Framework M21 Represents the element in the second row and the first column of the matrix.
Public fieldSupported by the .NET Compact Framework M22 Represents the element in the second row and the second column of the matrix.
Public fieldSupported by the .NET Compact Framework M23 Represents the element in the second row and the third column of the matrix.
Public fieldSupported by the .NET Compact Framework M24 Represents the element in the second row and the fourth column of the matrix.
Public fieldSupported by the .NET Compact Framework M31 Represents the element in the third row and the first column of the matrix.
Public fieldSupported by the .NET Compact Framework M32 Represents the element in the third row and the second column of the matrix.
Public fieldSupported by the .NET Compact Framework M33 Represents the element in the third row and the third column of the matrix.
Public fieldSupported by the .NET Compact Framework M34 Represents the element in the third row and the fourth column of the matrix.
Public fieldSupported by the .NET Compact Framework M41 Represents the element in the fourth row and the first column of the matrix.
Public fieldSupported by the .NET Compact Framework M42 Represents the element in the fourth row and the second column of the matrix.
Public fieldSupported by the .NET Compact Framework M43 Represents the element in the fourth row and the third column of the matrix.
Public fieldSupported by the .NET Compact Framework M44 Represents the element in the fourth row and the fourth column of the matrix.

Top

Properties

  Name Description
Public propertySupported by the .NET Compact Framework Determinant Gets the determinant of the matrix.
Public propertyStatic memberSupported by the .NET Compact Framework Identity Gets an identity matrix.
Public propertyStatic memberSupported by the .NET Compact Framework Zero Gets an empty matrix.

Top

See Also

Reference

Matrix Structure

Microsoft.WindowsMobile.DirectX Namespace