| Matrix44FFromXna Method |
Converts a
Matrix (XNA Framework) to a
Matrix44F (DigitalRune
Mathematics).
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Matrix44F FromXna(
Matrix matrix
)
Public Shared Function FromXna (
matrix As Matrix
) As Matrix44F
public:
static Matrix44F FromXna(
Matrix matrix
)
static member FromXna :
matrix : Matrix -> Matrix44F
Parameters
- matrix
- Type: Matrix
The Matrix (XNA Framework).
Return Value
Type:
Matrix44FThe
Matrix44F (DigitalRune Mathematics).
Remarks
DigitalRune Mathematics uses column vectors whereas the XNA Framework uses row vectors. By
converting a Matrix (XNA Framework) to Matrix44F (DigitalRune
Mathematics) the matrix is automatically transposed.
This method is available only in the XNA-compatible build of the
DigitalRune.Mathematics.dll.
See Also