Click or drag to resize
DigitalRuneSrtTransformFromMatrix 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.Character
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public static SrtTransform FromMatrix(
	Matrix srtMatrix
)

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