| Matrix44DFromXna 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 Matrix44D FromXna(
Matrix matrix
)
Public Shared Function FromXna (
matrix As Matrix
) As Matrix44D
public:
static Matrix44D FromXna(
Matrix matrix
)
static member FromXna :
matrix : Matrix -> Matrix44D
Parameters
- matrix
- Type: Matrix
The Matrix (XNA Framework).
Return Value
Type:
Matrix44DThe
Matrix44D (DigitalRune Mathematics).
Remarks
DigitalRune Mathematics uses column vectors whereas the XNA Framework uses row vectors. By
converting a Matrix (XNA Framework) to Matrix44D (DigitalRune
Mathematics) the matrix is automatically transposed.
This method is available only in the XNA-compatible build of the
DigitalRune.Mathematics.dll.
See Also