Click or drag to resize

Matrix4FDecompose Method (Vector3F, Matrix3F, Vector3F)

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

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public bool Decompose(
	out Vector3F translation,
	out Matrix3F rotation,
	out Vector3F scale
)

Parameters

translation
Type: NeoAxisVector3F
When the method completes, contains the translation component of the decomposed matrix.
rotation
Type: NeoAxisMatrix3F
When the method completes, contains the rtoation component of the decomposed matrix.
scale
Type: NeoAxisVector3F
When the method completes, contains the scaling component of the decomposed matrix.

Return Value

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