MatrixAffineTransformation Method (Single, Vector3, Quaternion, Vector3)

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 Matrix AffineTransformation(
	float scaling,
	Vector3 rotationCenter,
	Quaternion rotation,
	Vector3 translation
)

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.

Return Value

Type: Matrix
The created affine transformation matrix.
See Also

Reference