Matrix3Decompose Method (Matrix3, Vector3) |
Decomposes a matrix into a rotation and scale.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public bool Decompose(
out Matrix3 rotation,
out Vector3 scale
)
Parameters
- rotation
- Type: NeoAxisMatrix3
When the method completes, contains the rtoation component of the decomposed matrix. - scale
- Type: NeoAxisVector3
When the method completes, contains the scaling component of the decomposed matrix.
Return Value
Type:
BooleanRemarks
This method is designed to decompose an SRT transformation matrix only.
See Also