Class TMP_FontAsset
Inheritance
Object
ScriptableObject
TMP_FontAsset
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Namespace: TMPro
Assembly: HollowKnight.dll
Syntax
[Serializable]
public class TMP_FontAsset : TMP_Asset
Fields
|
Edit this page
View Source
atlas
Declaration
[SerializeField]
public Texture2D atlas
Field Value
Type |
Description |
Texture2D |
|
|
Edit this page
View Source
boldSpacing
Declaration
Field Value
|
Edit this page
View Source
boldStyle
Declaration
Field Value
|
Edit this page
View Source
fallbackFontAssets
Declaration
[SerializeField]
public List<TMP_FontAsset> fallbackFontAssets
Field Value
|
Edit this page
View Source
fontAssetType
Declaration
public TMP_FontAsset.FontAssetTypes fontAssetType
Field Value
|
Edit this page
View Source
fontCreationSettings
Declaration
[SerializeField]
public FontCreationSetting fontCreationSettings
Field Value
|
Edit this page
View Source
fontWeights
Declaration
[SerializeField]
public TMP_FontWeights[] fontWeights
Field Value
|
Edit this page
View Source
italicStyle
Declaration
Field Value
|
Edit this page
View Source
normalSpacingOffset
Declaration
public float normalSpacingOffset
Field Value
|
Edit this page
View Source
normalStyle
Declaration
Field Value
|
Edit this page
View Source
tabSize
Declaration
Field Value
Properties
|
Edit this page
View Source
characterDictionary
Declaration
public Dictionary<int, TMP_Glyph> characterDictionary { get; }
Property Value
|
Edit this page
View Source
defaultFontAsset
Declaration
public static TMP_FontAsset defaultFontAsset { get; }
Property Value
|
Edit this page
View Source
fontInfo
Declaration
public FaceInfo fontInfo { get; }
Property Value
|
Edit this page
View Source
kerningDictionary
Declaration
public Dictionary<int, KerningPair> kerningDictionary { get; }
Property Value
|
Edit this page
View Source
kerningInfo
Declaration
public KerningTable kerningInfo { get; }
Property Value
Methods
|
Edit this page
View Source
AddFaceInfo(FaceInfo)
Declaration
public void AddFaceInfo(FaceInfo faceInfo)
Parameters
|
Edit this page
View Source
AddGlyphInfo(TMP_Glyph[])
Declaration
public void AddGlyphInfo(TMP_Glyph[] glyphInfo)
Parameters
|
Edit this page
View Source
AddKerningInfo(KerningTable)
Declaration
public void AddKerningInfo(KerningTable kerningTable)
Parameters
|
Edit this page
View Source
GetCharacters(TMP_FontAsset)
Declaration
public static string GetCharacters(TMP_FontAsset fontAsset)
Parameters
Returns
|
Edit this page
View Source
GetCharactersArray(TMP_FontAsset)
Declaration
public static int[] GetCharactersArray(TMP_FontAsset fontAsset)
Parameters
Returns
|
Edit this page
View Source
HasCharacter(char)
Declaration
public bool HasCharacter(char character)
Parameters
Type |
Name |
Description |
char |
character |
|
Returns
|
Edit this page
View Source
HasCharacter(char, bool)
Declaration
public bool HasCharacter(char character, bool searchFallbacks)
Parameters
Type |
Name |
Description |
char |
character |
|
bool |
searchFallbacks |
|
Returns
|
Edit this page
View Source
HasCharacter(int)
Declaration
public bool HasCharacter(int character)
Parameters
Type |
Name |
Description |
int |
character |
|
Returns
|
Edit this page
View Source
HasCharacters(string)
Declaration
public bool HasCharacters(string text)
Parameters
Type |
Name |
Description |
string |
text |
|
Returns
|
Edit this page
View Source
HasCharacters(string, out List<char>)
Declaration
public bool HasCharacters(string text, out List<char> missingCharacters)
Parameters
Returns
|
Edit this page
View Source
ReadFontDefinition()
Declaration
public void ReadFontDefinition()
|
Edit this page
View Source
SortGlyphs()
Declaration
Extension Methods