Click or drag to resize
AB4D logo

SpriteBatchSetTransform(Matrix) 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: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public void SetTransform(
	Matrix transformMatrix
)

Parameters

transformMatrix  Matrix
Matrix
See Also