MatrixAffineTransformation Method (Single, Vector3, Quaternion, Vector3, Matrix)

RAGE Plugin Hook Documentation

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

Creates a 3D affine transformation matrix.

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

public static void AffineTransformation(
	float scaling,
	ref Vector3 rotationCenter,
	ref Quaternion rotation,
	ref Vector3 translation,
	out Matrix result
)

Parameters

scaling
Type: SystemSingle
Scaling factor.
rotationCenter
Type: RageVector3
The center of the rotation.
rotation
Type: RageQuaternion
The rotation of the transformation.
translation
Type: RageVector3
The translation factor of the transformation.
result
Type: RageMatrix
When the method completes, contains the created affine transformation matrix.
See Also

Reference