SpriteExtensions¶
Namespace:
SideXP.Core
Extension functions for Sprite instances.
Methods¶
ToTexture(Sprite)¶
Extracts a Texture2D from a given sprite.
Parameters
sprite: The object that defines the original texture and size of the sprite.
Returns
Returns the extracted Texture2D.