[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 Matrix Transformation2D( Vector2 scalingCenter, float scalingRotation, Vector2 scaling, Vector2 rotationCenter, float rotation, Vector2 translation )
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.
Return Value
Type: MatrixThe created transformation matrix.
See Also