| PoseDFromMatrix Method (Matrix) |
Creates a
PoseD from a
Matrix (XNA Framework) that contains a
translation and a rotation. (Only available in the XNA-compatible build.)
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static PoseD FromMatrix(
Matrix poseMatrix
)
Public Shared Function FromMatrix (
poseMatrix As Matrix
) As PoseD
public:
static PoseD FromMatrix(
Matrix poseMatrix
)
static member FromMatrix :
poseMatrix : Matrix -> PoseD
Parameters
- poseMatrix
- Type: Matrix
The pose matrix.
Return Value
Type:
PoseDA pose that represents the same transformation as the 4x4-matrix.
Remarks poseMatrix must only contain rotations and translations, otherwise the
result is undefined.
This method is available only in the XNA-compatible build of the DigitalRune.Geometry.dll.
See Also