U4DEngine::U4DFontLoader class
The U4DFontLoader class is in charge of loading font information.
Contents
Constructors, destructors, conversion operators
- U4DFontLoader()
- Constructor for the font loader.
- ~U4DFontLoader()
- Destructor for the font loader.
Public functions
- void loadFont()
- Method which loads font information.
- void loadFontAssetFile(std::string uFontAtlasFile, std::string uFontAtlasImage)
- Method which loads the font file into the engine.
Public variables
- std::vector<FONTDATA> fontData
- Vector containing font data.
- std::string fontAtlasImage
- Name of the image atlas containing the font images.
- float fontAtlasWidth
- Font atlas image width.
- float fontAtlasHeight
- Font atlas image height.
Function documentation
void U4DEngine:: U4DFontLoader:: loadFontAssetFile(std::string uFontAtlasFile,
std::string uFontAtlasImage)
Method which loads the font file into the engine.
Parameters | |
---|---|
uFontAtlasFile | Font Atlas file name |
uFontAtlasImage | Font Atlas image name |