Enumerator |
---|
None |
|
SDF |
|
Bitmap |
|
void TMPro.TMP_FontAsset.AddFaceInfo |
( |
FaceInfo |
faceInfo | ) |
|
|
inline |
void TMPro.TMP_FontAsset.AddGlyphInfo |
( |
TMP_Glyph[] |
glyphInfo | ) |
|
|
inline |
void TMPro.TMP_FontAsset.AddKerningInfo |
( |
KerningTable |
kerningTable | ) |
|
|
inline |
static string TMPro.TMP_FontAsset.GetCharacters |
( |
TMP_FontAsset |
fontAsset | ) |
|
|
inlinestatic |
Function to extract all the characters from a font asset.
- Parameters
-
- Returns
static int [] TMPro.TMP_FontAsset.GetCharactersArray |
( |
TMP_FontAsset |
fontAsset | ) |
|
|
inlinestatic |
Function which returns an array that contains all the characters from a font asset.
- Parameters
-
- Returns
bool TMPro.TMP_FontAsset.HasCharacter |
( |
int |
character | ) |
|
|
inline |
Function to check if a certain character exists in the font asset.
- Parameters
-
- Returns
bool TMPro.TMP_FontAsset.HasCharacter |
( |
char |
character | ) |
|
|
inline |
Function to check if a certain character exists in the font asset.
- Parameters
-
- Returns
bool TMPro.TMP_FontAsset.HasCharacter |
( |
char |
character, |
|
|
bool |
searchFallbacks |
|
) |
| |
|
inline |
Function to check if a character is contained in the font asset with the option to also check through fallback font assets.
- Parameters
-
character | |
searchFallbacks | |
- Returns
bool TMPro.TMP_FontAsset.HasCharacters |
( |
string |
text, |
|
|
out List< char > |
missingCharacters |
|
) |
| |
|
inline |
Function to check if certain characters exists in the font asset. Function returns a list of missing characters.
- Parameters
-
- Returns
bool TMPro.TMP_FontAsset.HasCharacters |
( |
string |
text | ) |
|
|
inline |
Function to check if certain characters exists in the font asset. Function returns false if any characters are missing.
- Parameters
-
text | String containing the characters to check |
- Returns
void TMPro.TMP_FontAsset.ReadFontDefinition |
( |
| ) |
|
|
inline |
void TMPro.TMP_FontAsset.SortGlyphs |
( |
| ) |
|
|
inline |
Function to sort the list of glyphs.
Texture2D TMPro.TMP_FontAsset.atlas |
float TMPro.TMP_FontAsset.boldSpacing = 7f |
float TMPro.TMP_FontAsset.boldStyle = 0.75f |
List which contains the Fallback font assets for this font.
byte TMPro.TMP_FontAsset.italicStyle = 35 |
float TMPro.TMP_FontAsset.normalSpacingOffset = 0 |
float TMPro.TMP_FontAsset.normalStyle = 0 |
byte TMPro.TMP_FontAsset.tabSize = 10 |
Dictionary<int, TMP_Glyph> TMPro.TMP_FontAsset.characterDictionary |
|
get |
Default Font Asset used as last resort when glyphs are missing.
The general information about the font.
Dictionary<int, KerningPair> TMPro.TMP_FontAsset.kerningDictionary |
|
get |
Dictionary containing the kerning data
The documentation for this class was generated from the following file: