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)
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 Fields M11The first element of the first row.
M12The second element of the first row.
M21The first element of the second row.
M22The second element of the second row.
M31The first element of the third row.
M32The second element of the third row.
Properties Methods Add(Matrix3x2, Matrix3x2)Adds each element in one matrix with its corresponding element in a second matrix.
Create(Single, Single, Single, Single, Single, Single) Create(Single) Create(Vector2, Vector2, Vector2) Create(Vector2) CreateRotation(Single, Vector2)Creates a rotation matrix using the specified rotation in radians and a center point.
CreateRotation(Single)Creates a rotation matrix using the given rotation in radians.
CreateScale(Single, Single, Vector2)Creates a scaling matrix that is offset by a given center point.
CreateScale(Single, Single)Creates a scaling matrix from the specified X and Y components.
CreateScale(Single, Vector2)Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center.
CreateScale(Single)Creates a scaling matrix that scales uniformly with the given scale.
CreateScale(Vector2, Vector2)Creates a scaling matrix from the specified vector scale with an offset from the specified center point.
CreateScale(Vector2)Creates a scaling matrix from the specified vector scale.
CreateSkew(Single, Single, Vector2)Creates a skew matrix from the specified angles in radians and a center point.
CreateSkew(Single, Single)Creates a skew matrix from the specified angles in radians.
CreateTranslation(Single, Single)Creates a translation matrix from the specified X and Y components.
CreateTranslation(Vector2)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.
GetDeterminant()Calculates the determinant for this matrix.
GetElement(Int32, Int32) GetHashCode()Returns the hash code for this instance.
GetRow(Int32) 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.
ToString()Returns a string that represents this matrix.
WithElement(Int32, Int32, Single) WithRow(Int32, Vector2) OperatorsCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4