Creates the XSprite2D from the bitmap.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XSprite2D(
	Bitmap bitmap,
	int countX,
	int countY
)

Parameters

bitmap
Type: System.Drawing..::.Bitmap
The Bitmap bitmap from that the sprite will be created.
countX
Type: System..::.Int32
Number of tiles in the X axis.
countY
Type: System..::.Int32
Number of tiles in the Y axis.

See Also