Click or drag to resize
DigitalRuneSrtTransformFromMatrix Method (Matrix44F)
Creates an SrtTransform from a matrix that contains a scale, a rotation, and a translation.

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(
	Matrix44F srtMatrix
)

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