Property | Type | Description | |
---|---|---|---|
M11 | float | ||
M12 | float | ||
M13 | float | ||
M21 | float | ||
M22 | float | ||
M23 | float |
Method | Description | |
---|---|---|
Add ( |
Adds the two matrices together on a per-element basis.
|
|
Matrix2x3 ( float m11, float m12, float m13, float m21, float m22, float m23 ) : Microsoft.Xna.Framework |
Constructs a new 2 row, 2 column matrix.
|
|
Multiply ( |
Multiplies the two matrices.
|
|
Multiply ( |
Multiplies the two matrices.
|
|
Negate ( |
Negates every element in the matrix.
|
|
Subtract ( |
Subtracts the two matrices from each other on a per-element basis.
|
|
ToString ( ) : string |
Creates a string representation of the matrix.
|
|
Transform ( |
Transforms the vector by the matrix.
|
|
Transform ( Microsoft.Xna.Framework.Vector3 &v, |
Transforms the vector by the matrix.
|
|
Transpose ( |
Computes the transposed matrix of a matrix.
|
public static Add ( |
||
a | First matrix to add. | |
b | Second matrix to add. | |
result | Sum of the two matrices. | |
return | void |
public Matrix2x3 ( float m11, float m12, float m13, float m21, float m22, float m23 ) : Microsoft.Xna.Framework | ||
m11 | float | Value at row 1, column 1 of the matrix. |
m12 | float | Value at row 1, column 2 of the matrix. |
m13 | float | Value at row 1, column 3 of the matrix. |
m21 | float | Value at row 2, column 1 of the matrix. |
m22 | float | Value at row 2, column 2 of the matrix. |
m23 | float | Value at row 2, column 3 of the matrix. |
return | Microsoft.Xna.Framework |
public static Multiply ( |
||
a | First matrix to multiply. | |
b | Matrix | Second matrix to multiply. |
result | Product of the multiplication. | |
return | void |
public static Multiply ( |
||
a | First matrix to multiply. | |
b | Second matrix to multiply. | |
result | Product of the multiplication. | |
return | void |
public static Negate ( |
||
matrix | Matrix to negate. | |
result | Negated matrix. | |
return | void |
public static Subtract ( |
||
a | First matrix to subtract. | |
b | Second matrix to subtract. | |
result | Difference of the two matrices. | |
return | void |
public static Transform ( |
||
v | Vector2 to transform. Considered to be a row vector for purposes of multiplication. | |
matrix | Matrix to use as the transformation. | |
result | Microsoft.Xna.Framework.Vector3 | Row vector product of the transformation. |
return | void |
public static Transform ( Microsoft.Xna.Framework.Vector3 &v, |
||
v | Microsoft.Xna.Framework.Vector3 | Vector2 to transform. Considered to be a column vector for purposes of multiplication. |
matrix | Matrix to use as the transformation. | |
result | Column vector product of the transformation. | |
return | void |
public static Transpose ( |
||
matrix | Matrix to transpose. | |
result | Transposed matrix. | |
return | void |