Creates the XSprite2D from the texture.

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

Syntax

C#
public XSprite2D(
	Texture texture,
	int countX,
	int countY
)

Parameters

texture
Type: Texture
The Texture texture 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