Windows apps
Collapse the table of content
Expand the table of content

Matrix3x2 Structure

Represents a 3x2 matrix.

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

public value class Matrix3x2 : IEquatable<Matrix3x2>

The Matrix3x2 type exposes the following members.

  NameDescription
Public methodMatrix3x2Creates a 3x2 matrix from the specified components.
Top

  NameDescription
Public propertyStatic memberIdentityGets the multiplicative identity matrix.
Public propertyIsIdentityIndicates whether the current matrix is the identity matrix.
Public propertyTranslationGets or sets the translation component of this matrix.
Top

  NameDescription
Public methodStatic memberAddAdds each element in one matrix with its corresponding element in a second matrix.
Public methodStatic memberCreateRotation(Single)Creates a rotation matrix using the given rotation in radians.
Public methodStatic memberCreateRotation(Single, Vector2)Creates a rotation matrix using the specified rotation in radians and a center point.
Public methodStatic memberCreateScale(Single)Creates a scaling matrix that scales uniformly with the given scale.
Public methodStatic memberCreateScale(Vector2)Creates a scaling matrix from the specified vector scale.
Public methodStatic memberCreateScale(Single, Vector2)Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center.
Public methodStatic memberCreateScale(Single, Single)Creates a scaling matrix from the specified X and Y components.
Public methodStatic memberCreateScale(Vector2, Vector2)Creates a scaling matrix from the specified vector scale with an offset from the specified center point.
Public methodStatic memberCreateScale(Single, Single, Vector2)Creates a scaling matrix that is offset by a given center point.
Public methodStatic memberCreateSkew(Single, Single)Creates a skew matrix from the specified angles in radians.
Public methodStatic memberCreateSkew(Single, Single, Vector2)Creates a skew matrix from the specified angles in radians and a center point.
Public methodStatic memberCreateTranslation(Vector2)Creates a translation matrix from the specified 2-dimensional vector.
Public methodStatic memberCreateTranslation(Single, Single)Creates a translation matrix from the specified X and Y components.
Public methodEquals(Object)Returns a value that indicates whether this instance and a specified object are equal. (Overrides ValueType::Equals(Object).)
Public methodEquals(Matrix3x2)Returns a value that indicates whether this instance and another 3x2 matrix are equal.
Public methodGetDeterminantCalculates the determinant for this matrix.
Public methodGetHashCodeReturns the hash code for this instance. (Overrides ValueType::GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberInvertInverts the specified matrix. The return value indicates whether the operation succeeded.
Public methodStatic memberLerpPerforms a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix.
Public methodStatic memberMultiply(Matrix3x2, Matrix3x2)Returns the matrix that results from multiplying two matrices together.
Public methodStatic memberMultiply(Matrix3x2, Single)Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor.
Public methodStatic memberNegateNegates the specified matrix by multiplying all its values by -1.
Public methodStatic memberSubtractSubtracts each element in a second matrix from its corresponding element in a first matrix.
Public methodToStringReturns a string that represents this matrix. (Overrides ValueType::ToString().)
Top

  NameDescription
Public operatorStatic memberAdditionAdds each element in one matrix with its corresponding element in a second matrix.
Public operatorStatic memberEqualityReturns a value that indicates whether the specified matrices are equal.
Public operatorStatic memberInequalityReturns a value that indicates whether the specified matrices are not equal.
Public operatorStatic memberMultiply(Matrix3x2, Matrix3x2)Returns the matrix that results from multiplying two matrices together.
Public operatorStatic memberMultiply(Matrix3x2, Single)Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor.
Public operatorStatic memberSubtractionSubtracts each element in a second matrix from its corresponding element in a first matrix.
Public operatorStatic memberUnaryNegationNegates the specified matrix by multiplying all its values by -1.
Top

  NameDescription
Public fieldM11The first element of the first row.
Public fieldM12The second element of the first row.
Public fieldM21The first element of the second row.
Public fieldM22The second element of the second row.
Public fieldM31The first element of the third row.
Public fieldM32The second element of the third row.
Top

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