Matrix Members

Describes and manipulates a matrix.

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

Public Fields

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

Top

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework Determinant Gets the determinant of the matrix.
Public property Static Supported by the .NET Compact Framework Identity Gets an identity matrix.
Public property Static Supported by the .NET Compact Framework Zero Gets an empty matrix.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Static Supported by the .NET Compact Framework Add Adds two matrices.
Public method Static Supported by the .NET Compact Framework AffineTransformation2D Builds a 2-D affine transformation matrix in the xy plane.
Public method Supported by the .NET Compact Framework Equals Overloaded. Overridden.  
Public method Supported by the .NET Compact Framework GetHashCode Overridden. Returns the hash code for the current instance.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Invert Overloaded. Calculates the inverse of a matrix.
Public method Static Supported by the .NET Compact Framework LookAtLH Builds a left-handed look-at matrix.
Public method Static Supported by the .NET Compact Framework LookAtRH Builds a right-handed look-at matrix.
Public method Supported by the .NET Compact Framework Multiply Overloaded. Determines the product of two matrices.
Public method Supported by the .NET Compact Framework MultiplyTranspose Overloaded. Calculates the transposed product of two matrices.
Public method Static Supported by the .NET Compact Framework op_Addition Adds two instances of the Matrix structure.
Public method Static Supported by the .NET Compact Framework op_Equality Compares the specified matrices to determine whether they are the same.
Public method Static Supported by the .NET Compact Framework op_Inequality Compares the specified matrices to determine whether they are different.
Public method Static Supported by the .NET Compact Framework op_Multiply Determines the product of two matrices.
Public method Static Supported by the .NET Compact Framework op_Subtraction Subtracts two instances of the Matrix structure.
Public method Static Supported by the .NET Compact Framework OrthoLH Builds a left-handed orthogonal projection matrix.
Public method Static Supported by the .NET Compact Framework OrthoOffCenterLH Builds a customized, left-handed orthogonal projection matrix.
Public method Static Supported by the .NET Compact Framework OrthoOffCenterRH Builds a customized, right-handed orthogonal projection matrix.
Public method Static Supported by the .NET Compact Framework OrthoRH Builds a right-handed orthogonal projection matrix.
Public method Static Supported by the .NET Compact Framework PerspectiveFovLH Builds a left-handed perspective projection matrix based on a field of view.
Public method Static Supported by the .NET Compact Framework PerspectiveFovRH Builds a right-handed perspective projection matrix based on a field of view (FOV).
Public method Static Supported by the .NET Compact Framework PerspectiveLH Builds a left-handed perspective projection matrix.
Public method Static Supported by the .NET Compact Framework PerspectiveOffCenterLH Builds a customized, left-handed perspective projection matrix.
Public method Static Supported by the .NET Compact Framework PerspectiveOffCenterRH Builds a customized, right-handed perspective projection matrix.
Public method Static Supported by the .NET Compact Framework PerspectiveRH Builds a right-handed perspective projection matrix.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework RotationAxis Rotates the matrix around an arbitrary axis.
Public method Static Supported by the .NET Compact Framework RotationQuaternion Builds a matrix from a quaternion.
Public method Static Supported by the .NET Compact Framework RotationX Builds a matrix that rotates around the x-axis.
Public method Static Supported by the .NET Compact Framework RotationY Builds a matrix that rotates around the y-axis.
Public method Static Supported by the .NET Compact Framework RotationYawPitchRoll Builds a matrix with a specified yaw, pitch, and roll.
Public method Static Supported by the .NET Compact Framework RotationZ Builds a matrix that rotates around the z-axis.
Public method Static Supported by the .NET Compact Framework Scaling Overloaded. Builds a matrix that scales along the x-axis, y-axis, and z-axis.
Public method Static Supported by the .NET Compact Framework Subtract Subtracts one matrix from another.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Transformation Builds a transformation matrix.
Public method Static Supported by the .NET Compact Framework Transformation2D Builds a 2-D transformation matrix in the xy plane.
Public method Static Supported by the .NET Compact Framework Translation Overloaded. Builds a matrix using specified offsets.
Public method Static Supported by the .NET Compact Framework TransposeMatrix Returns the matrix transpose of a given matrix.

Top

Protected Methods

  Name Description
Protected method Supported 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)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

See Also

Reference

Matrix Structure
Microsoft.WindowsMobile.DirectX Namespace

Other Resources

Direct3D Programming