| PoseFromMatrix Method (Matrix44F) |
Creates a
Pose from a matrix that contains a translation and a rotation.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static Pose FromMatrix(
Matrix44F poseMatrix
)
Public Shared Function FromMatrix (
poseMatrix As Matrix44F
) As Pose
public:
static Pose FromMatrix(
Matrix44F poseMatrix
)
static member FromMatrix :
poseMatrix : Matrix44F -> Pose
Parameters
- poseMatrix
- Type: DigitalRune.Mathematics.AlgebraMatrix44F
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.
See Also