Matrix3x2Matrix3x2Matrix3x2Matrix3x2 Struct

Definition

Represents a 3x2 matrix.

``public value class Matrix3x2 : IEquatable<System::Numerics::Matrix3x2>``
``public struct Matrix3x2 : IEquatable<System.Numerics.Matrix3x2>``
``type Matrix3x2 = struct``
``````Public Structure Matrix3x2
Implements IEquatable(Of Matrix3x2)``````
Inheritance
Matrix3x2Matrix3x2Matrix3x2Matrix3x2
Implements

Remarks

For matrix transformations, the Vector2, Vector3, and Vector4 instances are represented as rows: a vector v is transformed by a matrix M with vM multiplication.

Constructors

 Matrix3x2(Single, Single, Single, Single, Single, Single) Matrix3x2(Single, Single, Single, Single, Single, Single) Matrix3x2(Single, Single, Single, Single, Single, Single) Matrix3x2(Single, Single, Single, Single, Single, Single) Creates a 3x2 matrix from the specified components.

Fields

 M11 M11 M11 M11 The first element of the first row. M12 M12 M12 M12 The second element of the first row. M21 M21 M21 M21 The first element of the second row. M22 M22 M22 M22 The second element of the second row. M31 M31 M31 M31 The first element of the third row. M32 M32 M32 M32 The second element of the third row.

Properties

 Identity Identity Identity Identity Gets the multiplicative identity matrix. IsIdentity IsIdentity IsIdentity IsIdentity Indicates whether the current matrix is the identity matrix. Translation Translation Translation Translation Gets or sets the translation component of this matrix.

Methods

 Add(Matrix3x2, Matrix3x2) Add(Matrix3x2, Matrix3x2) Add(Matrix3x2, Matrix3x2) Add(Matrix3x2, Matrix3x2) Adds each element in one matrix with its corresponding element in a second matrix. CreateRotation(Single) CreateRotation(Single) CreateRotation(Single) CreateRotation(Single) Creates a rotation matrix using the given rotation in radians. CreateRotation(Single, Vector2) CreateRotation(Single, Vector2) CreateRotation(Single, Vector2) CreateRotation(Single, Vector2) Creates a rotation matrix using the specified rotation in radians and a center point. CreateScale(Single, Single) CreateScale(Single, Single) CreateScale(Single, Single) CreateScale(Single, Single) Creates a scaling matrix from the specified X and Y components. CreateScale(Single, Vector2) CreateScale(Single, Vector2) CreateScale(Single, Vector2) CreateScale(Single, Vector2) Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. CreateScale(Single, Single, Vector2) CreateScale(Single, Single, Vector2) CreateScale(Single, Single, Vector2) CreateScale(Single, Single, Vector2) Creates a scaling matrix that is offset by a given center point. CreateScale(Single) CreateScale(Single) CreateScale(Single) CreateScale(Single) Creates a scaling matrix that scales uniformly with the given scale. CreateScale(Vector2) CreateScale(Vector2) CreateScale(Vector2) CreateScale(Vector2) Creates a scaling matrix from the specified vector scale. CreateScale(Vector2, Vector2) CreateScale(Vector2, Vector2) CreateScale(Vector2, Vector2) CreateScale(Vector2, Vector2) Creates a scaling matrix from the specified vector scale with an offset from the specified center point. CreateSkew(Single, Single) CreateSkew(Single, Single) CreateSkew(Single, Single) CreateSkew(Single, Single) Creates a skew matrix from the specified angles in radians. CreateSkew(Single, Single, Vector2) CreateSkew(Single, Single, Vector2) CreateSkew(Single, Single, Vector2) CreateSkew(Single, Single, Vector2) Creates a skew matrix from the specified angles in radians and a center point. CreateTranslation(Vector2) CreateTranslation(Vector2) CreateTranslation(Vector2) CreateTranslation(Vector2) Creates a translation matrix from the specified 2-dimensional vector. CreateTranslation(Single, Single) CreateTranslation(Single, Single) CreateTranslation(Single, Single) CreateTranslation(Single, Single) Creates a translation matrix from the specified X and Y components. Equals(Matrix3x2) Equals(Matrix3x2) Equals(Matrix3x2) Equals(Matrix3x2) Returns a value that indicates whether this instance and another 3x2 matrix are equal. Equals(Object) Equals(Object) Equals(Object) Equals(Object) Returns a value that indicates whether this instance and a specified object are equal. GetDeterminant() GetDeterminant() GetDeterminant() GetDeterminant() Calculates the determinant for this matrix. GetHashCode() GetHashCode() GetHashCode() GetHashCode() Returns the hash code for this instance. Invert(Matrix3x2, Matrix3x2) Invert(Matrix3x2, Matrix3x2) Invert(Matrix3x2, Matrix3x2) Invert(Matrix3x2, Matrix3x2) Inverts the specified matrix. The return value indicates whether the operation succeeded. Lerp(Matrix3x2, Matrix3x2, Single) Lerp(Matrix3x2, Matrix3x2, Single) Lerp(Matrix3x2, Matrix3x2, Single) Lerp(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. Multiply(Matrix3x2, Matrix3x2) Multiply(Matrix3x2, Matrix3x2) Multiply(Matrix3x2, Matrix3x2) Multiply(Matrix3x2, Matrix3x2) Returns the matrix that results from multiplying two matrices together. Multiply(Matrix3x2, Single) Multiply(Matrix3x2, Single) Multiply(Matrix3x2, Single) Multiply(Matrix3x2, Single) Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. Negate(Matrix3x2) Negate(Matrix3x2) Negate(Matrix3x2) Negate(Matrix3x2) Negates the specified matrix by multiplying all its values by -1. Subtract(Matrix3x2, Matrix3x2) Subtract(Matrix3x2, Matrix3x2) Subtract(Matrix3x2, Matrix3x2) Subtract(Matrix3x2, Matrix3x2) Subtracts each element in a second matrix from its corresponding element in a first matrix. ToString() ToString() ToString() ToString() Returns a string that represents this matrix.

Operators

 Addition(Matrix3x2, Matrix3x2) Addition(Matrix3x2, Matrix3x2) Addition(Matrix3x2, Matrix3x2) Addition(Matrix3x2, Matrix3x2) Adds each element in one matrix with its corresponding element in a second matrix. Equality(Matrix3x2, Matrix3x2) Equality(Matrix3x2, Matrix3x2) Equality(Matrix3x2, Matrix3x2) Equality(Matrix3x2, Matrix3x2) Returns a value that indicates whether the specified matrices are equal. Inequality(Matrix3x2, Matrix3x2) Inequality(Matrix3x2, Matrix3x2) Inequality(Matrix3x2, Matrix3x2) Inequality(Matrix3x2, Matrix3x2) Returns a value that indicates whether the specified matrices are not equal. Multiply(Matrix3x2, Matrix3x2) Multiply(Matrix3x2, Matrix3x2) Multiply(Matrix3x2, Matrix3x2) Multiply(Matrix3x2, Matrix3x2) Returns the matrix that results from multiplying two matrices together. Multiply(Matrix3x2, Single) Multiply(Matrix3x2, Single) Multiply(Matrix3x2, Single) Multiply(Matrix3x2, Single) Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. Subtraction(Matrix3x2, Matrix3x2) Subtraction(Matrix3x2, Matrix3x2) Subtraction(Matrix3x2, Matrix3x2) Subtraction(Matrix3x2, Matrix3x2) Subtracts each element in a second matrix from its corresponding element in a first matrix. UnaryNegation(Matrix3x2) UnaryNegation(Matrix3x2) UnaryNegation(Matrix3x2) UnaryNegation(Matrix3x2) Negates the specified matrix by multiplying all its values by -1.