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