| SrtTransformFromMatrix Method (Matrix44F) |
Creates an
SrtTransform from a matrix that contains a scale, a rotation, and a
translation.
Namespace: DigitalRune.Animation.CharacterAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public static SrtTransform FromMatrix(
Matrix44F srtMatrix
)
Public Shared Function FromMatrix (
srtMatrix As Matrix44F
) As SrtTransform
public:
static SrtTransform FromMatrix(
Matrix44F srtMatrix
)
static member FromMatrix :
srtMatrix : Matrix44F -> SrtTransform
Parameters
- srtMatrix
- Type: DigitalRune.Mathematics.AlgebraMatrix44F
The SRT matrix.
Return Value
Type:
SrtTransform
An SRT transform that represents the same transformation as the 4x4-matrix.
Remarks srtMatrix must only contain scaling, rotations and translations -
otherwise the result is undefined.
See Also