 |
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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic void SetTransform(
Matrix3x2 transformMatrix
)
Parameters
- transformMatrix Matrix3x2
- Matrix
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.SpriteBatch.SetTransform(System.Numerics.Matrix3x2)"]
See Also