| SrtTransformFromMatrix Method (Matrix) |
Creates an
SrtTransform from a matrix that contains a scale, a rotation and
a translation. (Only available in the XNA-compatible build.)
Namespace: DigitalRune.Animation.CharacterAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public static SrtTransform FromMatrix(
Matrix srtMatrix
)
Public Shared Function FromMatrix (
srtMatrix As Matrix
) As SrtTransform
public:
static SrtTransform FromMatrix(
Matrix srtMatrix
)
static member FromMatrix :
srtMatrix : Matrix -> SrtTransform
Parameters
- srtMatrix
- Type: Matrix
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.
This method is available only in the XNA-compatible build of the DigitalRune.Animation.dll.
See Also