BMFont reader. C# implementation of http://www.angelcode.com/products/bmfont/
More...
|
BMGlyph | GetGlyph (int index, bool createIfMissing) |
| Helper function that retrieves the specified glyph, creating it if necessary. More...
|
|
BMGlyph | GetGlyph (int index) |
| Retrieve the specified glyph, if it's present. More...
|
|
void | Clear () |
| Clear the glyphs. More...
|
|
void | Trim (int xMin, int yMin, int xMax, int yMax) |
| Trim the glyphs, ensuring that they will never go past the specified bounds. More...
|
|
BMGlyph BMFont.GetGlyph |
( |
int |
index, |
|
|
bool |
createIfMissing |
|
) |
| |
Helper function that retrieves the specified glyph, creating it if necessary.
BMGlyph BMFont.GetGlyph |
( |
int |
index | ) |
|
Retrieve the specified glyph, if it's present.
void BMFont.Trim |
( |
int |
xMin, |
|
|
int |
yMin, |
|
|
int |
xMax, |
|
|
int |
yMax |
|
) |
| |
Trim the glyphs, ensuring that they will never go past the specified bounds.
Base offset applied to characters.
Size of this font (for example 32 means 32 pixels).
Access to BMFont's entire set of glyphs.
Whether the font can be used.
Original name of the sprite that the font is expecting to find (usually the name of the texture).
Original height of the texture.
Original width of the texture.
The documentation for this class was generated from the following file:
- D:/Projects/NGUI/Assets/NGUI/Scripts/Internal/BMFont.cs