![]() |
Aether3D Game Engine
|
Contains glyphs loaded from AngelCode BMFont files. For Mac there is a compatible program called BMGlyph. More...
#include <Font.hpp>
Public Member Functions | |
Font () | |
Constructor. | |
void | LoadBMFont (class Texture2D *fontTex, const FileSystem::FileContentsData &metaData) |
Texture2D * | GetTexture () |
int | TextWidth (const char *text) const |
Friends | |
class | TextRendererComponent |
Contains glyphs loaded from AngelCode BMFont files. For Mac there is a compatible program called BMGlyph.
void ae3d::Font::LoadBMFont | ( | class Texture2D * | fontTex, |
const FileSystem::FileContentsData & | metaData | ||
) |
fontTex | Font texture. No outline support. |
metaData | BMFont metadata. Must be text or binary. |
int ae3d::Font::TextWidth | ( | const char * | text | ) | const |