MatrixAffineTransformation2D Method (Single, Vector2, Single, Vector2, Matrix)

RAGE Plugin Hook Documentation

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

Creates a 2D affine transformation matrix.

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

public static void AffineTransformation2D(
	float scaling,
	ref Vector2 rotationCenter,
	float rotation,
	ref Vector2 translation,
	out Matrix result
)

Parameters

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

Reference