Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Matrix3x2 Structure

.NET Framework (current version)
 

Represents a 3x2 matrix.

Namespace:   System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

public struct Matrix3x2 : IEquatable<Matrix3x2>

NameDescription
System_CAPS_pubmethodMatrix3x2(Single, Single, Single, Single, Single, Single)

Creates a 3x2 matrix from the specified components.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticIdentity

Gets the multiplicative identity matrix.

System_CAPS_pubpropertyIsIdentity

Indicates whether the current matrix is the identity matrix.

System_CAPS_pubpropertyTranslation

Gets or sets the translation component of this matrix.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdd(Matrix3x2, Matrix3x2)

Adds each element in one matrix with its corresponding element in a second matrix.

System_CAPS_pubmethodSystem_CAPS_staticCreateRotation(Single)

Creates a rotation matrix using the given rotation in radians.

System_CAPS_pubmethodSystem_CAPS_staticCreateRotation(Single, Vector2)

Creates a rotation matrix using the specified rotation in radians and a center point.

System_CAPS_pubmethodSystem_CAPS_staticCreateScale(Single)

Creates a scaling matrix that scales uniformly with the given scale.

System_CAPS_pubmethodSystem_CAPS_staticCreateScale(Single, Single)

Creates a scaling matrix from the specified X and Y components.

System_CAPS_pubmethodSystem_CAPS_staticCreateScale(Single, Single, Vector2)

Creates a scaling matrix that is offset by a given center point.

System_CAPS_pubmethodSystem_CAPS_staticCreateScale(Single, Vector2)

Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center.

System_CAPS_pubmethodSystem_CAPS_staticCreateScale(Vector2)

Creates a scaling matrix from the specified vector scale.

System_CAPS_pubmethodSystem_CAPS_staticCreateScale(Vector2, Vector2)

Creates a scaling matrix from the specified vector scale with an offset from the specified center point.

System_CAPS_pubmethodSystem_CAPS_staticCreateSkew(Single, Single)

Creates a skew matrix from the specified angles in radians.

System_CAPS_pubmethodSystem_CAPS_staticCreateSkew(Single, Single, Vector2)

Creates a skew matrix from the specified angles in radians and a center point.

System_CAPS_pubmethodSystem_CAPS_staticCreateTranslation(Single, Single)

Creates a translation matrix from the specified X and Y components.

System_CAPS_pubmethodSystem_CAPS_staticCreateTranslation(Vector2)

Creates a translation matrix from the specified 2-dimensional vector.

System_CAPS_pubmethodEquals(Matrix3x2)

Returns a value that indicates whether this instance and another 3x2 matrix are equal.

System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetDeterminant()

Calculates the determinant for this matrix.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticInvert(Matrix3x2, Matrix3x2)

Inverts the specified matrix. The return value indicates whether the operation succeeded.

System_CAPS_pubmethodSystem_CAPS_staticLerp(Matrix3x2, Matrix3x2, Single)

Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix.

System_CAPS_pubmethodSystem_CAPS_staticMultiply(Matrix3x2, Matrix3x2)

Returns the matrix that results from multiplying two matrices together.

System_CAPS_pubmethodSystem_CAPS_staticMultiply(Matrix3x2, Single)

Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor.

System_CAPS_pubmethodSystem_CAPS_staticNegate(Matrix3x2)

Negates the specified matrix by multiplying all its values by -1.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(Matrix3x2, Matrix3x2)

Subtracts each element in a second matrix from its corresponding element in a first matrix.

System_CAPS_pubmethodToString()

Returns a string that represents this matrix. (Overrides ValueType.ToString().)

NameDescription
System_CAPS_pubfieldM11

The first element of the first row.

System_CAPS_pubfieldM12

The second element of the first row.

System_CAPS_pubfieldM21

The first element of the second row.

System_CAPS_pubfieldM22

The second element of the second row.

System_CAPS_pubfieldM31

The first element of the third row.

System_CAPS_pubfieldM32

The second element of the third row.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(Matrix3x2, Matrix3x2)

Adds each element in one matrix with its corresponding element in a second matrix.

System_CAPS_puboperatorSystem_CAPS_staticEquality(Matrix3x2, Matrix3x2)

Returns a value that indicates whether the specified matrices are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(Matrix3x2, Matrix3x2)

Returns a value that indicates whether the specified matrices are not equal.

System_CAPS_puboperatorSystem_CAPS_staticMultiply(Matrix3x2, Matrix3x2)

Returns the matrix that results from multiplying two matrices together.

System_CAPS_puboperatorSystem_CAPS_staticMultiply(Matrix3x2, Single)

Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(Matrix3x2, Matrix3x2)

Subtracts each element in a second matrix from its corresponding element in a first matrix.

System_CAPS_puboperatorSystem_CAPS_staticUnaryNegation(Matrix3x2)

Negates the specified matrix by multiplying all its values by -1.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: