![]() |
Catlike Coding
Unity Code Documentation
|
Definition of a character in a bitmap font. More...
Public Member Functions | |
| float | GetKerning (char nextChar) |
| Get the kerning between this character and another following it. More... | |
Public Attributes | |
| float | advance |
| Amount to advance the caret. More... | |
| float | height |
| Sprite height. More... | |
| int | id |
| Identifier, which is equal to the UTF-16 code of the represented character. More... | |
| int[] | kerningIds |
| Identifiers of characters this character has kernings for. More... | |
| float[] | kernings |
| Kerning amounts, corresponding to kerningIds. More... | |
| float | uMax |
| Maximum U texture coordinate value. More... | |
| float | uMin |
| Minimum U texture coordinate value. More... | |
| float | vMax |
| Maximum V texture coordinate value. More... | |
| float | vMin |
| Minimum V texture coordinate value. More... | |
| float | width |
| Sprite width. More... | |
| float | xOffset |
| Sprite X offset relative to caret. More... | |
| float | yOffset |
| Sprite Y offset relative to caret. More... | |
Definition of a character in a bitmap font.
| float CatlikeCoding.TextBox.BitmapFontChar.GetKerning | ( | char | nextChar | ) |
Get the kerning between this character and another following it.
| nextChar | Character following this one. |
| float CatlikeCoding.TextBox.BitmapFontChar.advance |
Amount to advance the caret.
| float CatlikeCoding.TextBox.BitmapFontChar.height |
Sprite height.
| int CatlikeCoding.TextBox.BitmapFontChar.id |
Identifier, which is equal to the UTF-16 code of the represented character.
| int [] CatlikeCoding.TextBox.BitmapFontChar.kerningIds |
Identifiers of characters this character has kernings for.
| float [] CatlikeCoding.TextBox.BitmapFontChar.kernings |
Kerning amounts, corresponding to kerningIds.
| float CatlikeCoding.TextBox.BitmapFontChar.uMax |
Maximum U texture coordinate value.
| float CatlikeCoding.TextBox.BitmapFontChar.uMin |
Minimum U texture coordinate value.
| float CatlikeCoding.TextBox.BitmapFontChar.vMax |
Maximum V texture coordinate value.
| float CatlikeCoding.TextBox.BitmapFontChar.vMin |
Minimum V texture coordinate value.
| float CatlikeCoding.TextBox.BitmapFontChar.width |
Sprite width.
| float CatlikeCoding.TextBox.BitmapFontChar.xOffset |
Sprite X offset relative to caret.
| float CatlikeCoding.TextBox.BitmapFontChar.yOffset |
Sprite Y offset relative to caret.
1.8.5