MatrixDecompose Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Decomposes the matrix into its scalar, rotational, and translational elements.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public bool Decompose(
	out Vector3 scale,
	out Quaternion rotation,
	out Vector3 translation
)

Parameters

scale
Type: RageVector3
When the method completes, contains the scalar element of the matrix.
rotation
Type: RageQuaternion
When the method completes, contains the translational element of the matrix.
translation
Type: RageVector3
When the method completes, contains the rotational element of the matrix.

Return Value

Type: Boolean
true if the decomposition was successful; otherwise, false.
See Also

Reference