| PoseFromMatrix Method (Matrix) |
Creates a
Pose 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 Pose FromMatrix(
Matrix poseMatrix
)
Public Shared Function FromMatrix (
poseMatrix As Matrix
) As Pose
public:
static Pose FromMatrix(
Matrix poseMatrix
)
static member FromMatrix :
poseMatrix : Matrix -> Pose
Parameters
- poseMatrix
- Type: Matrix
The pose matrix.
Return Value
Type:
PoseA 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