Click or drag to resize
Ab4d.SharpEngine logo

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.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public void SetTransform(
	Matrix3x2 transformMatrix
)

Parameters

transformMatrix  Matrix3x2
Matrix
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.SpriteBatch.SetTransform(System.Numerics.Matrix3x2)"]

See Also