Show / Hide Table of Contents

Class TMP_FontAsset

Inheritance
object
Object
ScriptableObject
TMP_Asset
TMP_FontAsset
TMP_FontAsset
Inherited Members
TMP_Asset.hashCode
TMP_Asset.material
TMP_Asset.materialHashCode
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance(string)
ScriptableObject.CreateInstance(Type)
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
public float boldSpacing
Field Value
Type Description
float
| Edit this page View Source

boldStyle

Declaration
public float boldStyle
Field Value
Type Description
float
| Edit this page View Source

fallbackFontAssets

Declaration
[SerializeField]
public List<TMP_FontAsset> fallbackFontAssets
Field Value
Type Description
List<TMP_FontAsset>
| Edit this page View Source

fontAssetType

Declaration
public TMP_FontAsset.FontAssetTypes fontAssetType
Field Value
Type Description
TMP_FontAsset.FontAssetTypes
| Edit this page View Source

fontCreationSettings

Declaration
[SerializeField]
public FontCreationSetting fontCreationSettings
Field Value
Type Description
FontCreationSetting
| Edit this page View Source

fontWeights

Declaration
[SerializeField]
public TMP_FontWeights[] fontWeights
Field Value
Type Description
TMP_FontWeights[]
| Edit this page View Source

italicStyle

Declaration
public byte italicStyle
Field Value
Type Description
byte
| Edit this page View Source

normalSpacingOffset

Declaration
public float normalSpacingOffset
Field Value
Type Description
float
| Edit this page View Source

normalStyle

Declaration
public float normalStyle
Field Value
Type Description
float
| Edit this page View Source

tabSize

Declaration
public byte tabSize
Field Value
Type Description
byte

Properties

| Edit this page View Source

characterDictionary

Declaration
public Dictionary<int, TMP_Glyph> characterDictionary { get; }
Property Value
Type Description
Dictionary<int, TMP_Glyph>
| Edit this page View Source

defaultFontAsset

Declaration
public static TMP_FontAsset defaultFontAsset { get; }
Property Value
Type Description
TMP_FontAsset
| Edit this page View Source

fontInfo

Declaration
public FaceInfo fontInfo { get; }
Property Value
Type Description
FaceInfo
| Edit this page View Source

kerningDictionary

Declaration
public Dictionary<int, KerningPair> kerningDictionary { get; }
Property Value
Type Description
Dictionary<int, KerningPair>
| Edit this page View Source

kerningInfo

Declaration
public KerningTable kerningInfo { get; }
Property Value
Type Description
KerningTable

Methods

| Edit this page View Source

AddFaceInfo(FaceInfo)

Declaration
public void AddFaceInfo(FaceInfo faceInfo)
Parameters
Type Name Description
FaceInfo faceInfo
| Edit this page View Source

AddGlyphInfo(TMP_Glyph[])

Declaration
public void AddGlyphInfo(TMP_Glyph[] glyphInfo)
Parameters
Type Name Description
TMP_Glyph[] glyphInfo
| Edit this page View Source

AddKerningInfo(KerningTable)

Declaration
public void AddKerningInfo(KerningTable kerningTable)
Parameters
Type Name Description
KerningTable kerningTable
| Edit this page View Source

GetCharacters(TMP_FontAsset)

Declaration
public static string GetCharacters(TMP_FontAsset fontAsset)
Parameters
Type Name Description
TMP_FontAsset fontAsset
Returns
Type Description
string
| Edit this page View Source

GetCharactersArray(TMP_FontAsset)

Declaration
public static int[] GetCharactersArray(TMP_FontAsset fontAsset)
Parameters
Type Name Description
TMP_FontAsset fontAsset
Returns
Type Description
int[]
| Edit this page View Source

HasCharacter(char)

Declaration
public bool HasCharacter(char character)
Parameters
Type Name Description
char character
Returns
Type Description
bool
| 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
Type Description
bool
| Edit this page View Source

HasCharacter(int)

Declaration
public bool HasCharacter(int character)
Parameters
Type Name Description
int character
Returns
Type Description
bool
| Edit this page View Source

HasCharacters(string)

Declaration
public bool HasCharacters(string text)
Parameters
Type Name Description
string text
Returns
Type Description
bool
| Edit this page View Source

HasCharacters(string, out List<char>)

Declaration
public bool HasCharacters(string text, out List<char> missingCharacters)
Parameters
Type Name Description
string text
List<char> missingCharacters
Returns
Type Description
bool
| Edit this page View Source

ReadFontDefinition()

Declaration
public void ReadFontDefinition()
| Edit this page View Source

SortGlyphs()

Declaration
public void SortGlyphs()

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾