Property | Type | Description | |
---|---|---|---|
M11 | float | ||
M12 | float | ||
M21 | float | ||
M22 | float | ||
M31 | float | ||
M32 | float |
Method | Description | |
---|---|---|
Add ( |
Adds the two matrices together on a per-element basis.
|
|
Matrix3x2 ( float m11, float m12, float m21, float m22, float m31, float m32 ) : Microsoft.Xna.Framework |
Constructs a new 3 row, 2 column matrix.
|
|
Multiply ( Matrix &a, |
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 Matrix3x2 ( float m11, float m12, float m21, float m22, float m31, float m32 ) : 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. |
m21 | float | Value at row 2, column 1 of the matrix. |
m22 | float | Value at row 2, column 2 of the matrix. |
m31 | float | Value at row 2, column 1 of the matrix. |
m32 | float | Value at row 2, column 2 of the matrix. |
return | Microsoft.Xna.Framework |
public static Multiply ( Matrix &a, |
||
a | Matrix | First matrix to multiply. |
b | 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 column vector for purposes of multiplication. | |
matrix | Matrix to use as the transformation. | |
result | Microsoft.Xna.Framework.Vector3 | Column 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 row vector for purposes of multiplication. |
matrix | Matrix to use as the transformation. | |
result | Row vector product of the transformation. | |
return | void |
public static Transpose ( |
||
matrix | Matrix to transpose. | |
result | Transposed matrix. | |
return | void |