 |
SpriteBatchSetTransform(Matrix3x2) Method |
Sets the transformation of the sprites that will be drawn after this method is called.
Note that the coordinate system goes from (0, 0) at top-left corner to (1, 1) at bottom right corner.
To rotate the sprite, set the destinationRectangle in the Draw command so that the center of the sprite will be at (0, 0).
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic void SetTransform(
Matrix3x2 transformMatrix
)
Parameters
- transformMatrix Matrix3x2
- Matrix
See Also