Click or drag to resize

Matrix4Decompose(Vector3, Quaternion, Vector3) Method

Decomposes a matrix into a scale, rotation, and translation.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public bool Decompose(
	out Vector3 translation,
	out Quaternion rotation,
	out Vector3 scale
)

Parameters

translation  Vector3
When the method completes, contains the translation component of the decomposed matrix.
rotation  Quaternion
When the method completes, contains the rtoation component of the decomposed matrix.
scale  Vector3
When the method completes, contains the scaling component of the decomposed matrix.

Return Value

Boolean
Remarks
This method is designed to decompose an SRT transformation matrix only.
See Also