Matrix.Decompose Method (Microsoft.Xna.Framework)
Decomposes this matrix to translation, rotation and scale elements. Returns true if matrix can be decomposed; false otherwise.
- C#
- VB
- F#
public bool Decompose( out Vector3 scale, out Quaternion rotation, out Vector3 translation )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- scale
-
Type: out Microsoft.Xna.Framework.Vector3
Scale vector as an output parameter.
- rotation
-
Type: out Microsoft.Xna.Framework.Quaternion
Rotation quaternion as an output parameter.
- translation
-
Type: out Microsoft.Xna.Framework.Vector3
Translation vector as an output parameter.
Return Value
Type: System.Boolean
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web