Matrix3x2 Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Implements
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.
Matrix3x2(Single, Single, Single, Single, Single, Single) |
Creates a 3x2 matrix from the specified components. |
M11 |
The first element of the first row. |
M12 |
The second element of the first row. |
M21 |
The first element of the second row. |
M22 |
The second element of the second row. |
M31 |
The first element of the third row. |
M32 |
The second element of the third row. |
Identity |
Gets the multiplicative identity matrix. |
Is |
Indicates whether the current matrix is the identity matrix. |
Item[Int32, Int32] |
Gets or sets the element at the specified indices. |
Translation |
Gets or sets the translation component of this matrix. |
Add(Matrix3x2, Matrix3x2) |
Adds each element in one matrix with its corresponding element in a second matrix. |
Create |
Creates a rotation matrix using the specified rotation in radians and a center point. |
Create |
Creates a rotation matrix using the given rotation in radians. |
Create |
Creates a scaling matrix that is offset by a given center point. |
Create |
Creates a scaling matrix from the specified X and Y components. |
Create |
Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. |
Create |
Creates a scaling matrix that scales uniformly with the given scale. |
Create |
Creates a scaling matrix from the specified vector scale with an offset from the specified center point. |
Create |
Creates a scaling matrix from the specified vector scale. |
Create |
Creates a skew matrix from the specified angles in radians and a center point. |
Create |
Creates a skew matrix from the specified angles in radians. |
Create |
Creates a translation matrix from the specified X and Y components. |
Create |
Creates a translation matrix from the specified 2-dimensional vector. |
Equals(Matrix3x2) |
Returns a value that indicates whether this instance and another 3x2 matrix are equal. |
Equals(Object) |
Returns a value that indicates whether this instance and a specified object are equal. |
Get |
Calculates the determinant for this matrix. |
Get |
Returns the hash code for this instance. |
Invert(Matrix3x2, Matrix3x2) |
Inverts the specified matrix. The return value indicates whether the operation succeeded. |
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) |
Returns the matrix that results from multiplying two matrices together. |
Multiply(Matrix3x2, Single) |
Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. |
Negate(Matrix3x2) |
Negates the specified matrix by multiplying all its values by -1. |
Subtract(Matrix3x2, Matrix3x2) |
Subtracts each element in a second matrix from its corresponding element in a first matrix. |
To |
Returns a string that represents this matrix. |
Addition(Matrix3x2, Matrix3x2) |
Adds each element in one matrix with its corresponding element in a second matrix. |
Equality(Matrix3x2, Matrix3x2) |
Returns a value that indicates whether the specified matrices are equal. |
Inequality(Matrix3x2, Matrix3x2) |
Returns a value that indicates whether the specified matrices are not equal. |
Multiply(Matrix3x2, Matrix3x2) |
Returns the matrix that results from multiplying two matrices together. |
Multiply(Matrix3x2, Single) |
Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. |
Subtraction(Matrix3x2, Matrix3x2) |
Subtracts each element in a second matrix from its corresponding element in a first matrix. |
Unary |
Negates the specified matrix by multiplying all its values by -1. |
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: