MatrixTransformation2D Method (Vector2, Single, Vector2, Vector2, Single, Vector2, Matrix)

RAGE Plugin Hook Documentation

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

Creates a 2D transformation matrix.

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

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

Parameters

scalingCenter
Type: RageVector2
Center point of the scaling operation.
scalingRotation
Type: SystemSingle
Scaling rotation amount.
scaling
Type: RageVector2
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 transformation matrix.
See Also

Reference