|
Untold Engine
Beta v0.0.16
docs
|
The U4DSpriteLoader class is in charge of loading sprite information. More...
Public Member Functions | |
| U4DSpriteLoader () | |
| Constructor for the sprite loader. | |
| ~U4DSpriteLoader () | |
| Destructor for the sprite loader. | |
| void | loadSpritesAssetFile (std::string uSpriteAtlasFile, std::string uSpriteAtlasImage) |
| Method which loads the sprite file into the engine. More... | |
| void | loadSprites () |
| Method which loads sprite information. | |
Public Attributes | |
| std::vector< SPRITEDATA > | spriteData |
| Vector containing sprite data. | |
| std::string | spriteAtlasImage |
| Name of the image atlas containing the sprite images. | |
| float | spriteAtlasWidth |
| Sprite atlas image width. | |
| float | spriteAtlasHeight |
| Sprite atlas image height. | |
The U4DSpriteLoader class is in charge of loading sprite information.
| void U4DEngine::U4DSpriteLoader::loadSpritesAssetFile | ( | std::string | uSpriteAtlasFile, |
| std::string | uSpriteAtlasImage | ||
| ) |
Method which loads the sprite file into the engine.
| uSpriteAtlasFile | Sprite Atlas file name |
| uSpriteAtlasImage | Sprite Atlas image name |