Zdexby TheHolyOneZ
36,909 classes
Class

FontAsset

: TextAsset : ScriptableObject : Object : Object
UnityEngine.TextCore.Text.FontAsset, UnityEngine.TextCoreTextEngineModule 0x0218 (536 B) inherited 0x0040 UnityEngine.TextCoreTextEngineModule.dll
0x00x0218

Members 71

OffsetSizeNameTypeFlagsDefault
0x08m_SourceFontFileGUIDstring1 flags—
0x58m_fontAssetCreationEditorSettingsFontAssetCreationEditorSettings1 flags—
0x08m_SourceFontFileFontPrivate—
0x08m_SourceFontFilePathstring1 flags—
0x04m_AtlasPopulationModeAtlasPopulationModePrivate—
0x01InternalDynamicOSbool1 flags—
0x01IsEditorFontbool1 flags—
0x00B60x02padding / unreflected
0x60m_FaceInfoFaceInfo1 flags—
0x04m_FamilyNameHashCodeintPrivate—
0x04m_StyleNameHashCodeintPrivate—
0x08m_GlyphTableList<UnityEngine.TextCore.Glyph>1 flags—
0x08m_GlyphLookupDictionaryDictionary<System.UInt321 flags—
0x08m_CharacterTableList<UnityEngine.TextCore.Text.Character>1 flags—
0x08m_CharacterLookupDictionaryDictionary<System.UInt321 flags—
0x08m_AtlasTextureTexture2D1 flags—
0x08m_AtlasTexturesTexture2D[]1 flags—
0x04m_AtlasTextureIndexint1 flags—
0x01m_IsMultiAtlasTexturesEnabledboolPrivate—
0x01m_GetFontFeaturesboolPrivate—
0x01m_ClearDynamicDataOnBuildboolPrivate—
0x01570x01padding / unreflected
0x04m_AtlasWidthint1 flags—
0x04m_AtlasHeightint1 flags—
0x04m_AtlasPaddingint1 flags—
0x04m_AtlasRenderModeGlyphRenderMode1 flags—
0x08m_UsedGlyphRectsList<UnityEngine.TextCore.GlyphRect>Private—
0x08m_FreeGlyphRectsList<UnityEngine.TextCore.GlyphRect>Private—
0x08m_FontFeatureTableFontFeatureTable1 flags—
0x01m_ShouldReimportFontFeaturesbool1 flags—
0x01810x07padding / unreflected
0x08m_FallbackFontAssetTableList<UnityEngine.TextCore.Text.FontAsset>1 flags—
0x08m_FontWeightTableFontWeightPair[]Private—
0x04m_RegularStyleWeightfloat1 flags—
0x04m_RegularStyleSpacingfloat1 flags—
0x04m_BoldStyleWeightfloat1 flags—
0x04m_BoldStyleSpacingfloat1 flags—
0x01m_ItalicStyleSlantbyte1 flags—
0x01m_TabMultiplebyte1 flags—
0x01IsFontAssetLookupTablesDirtybool1 flags—
0x01AB0x05padding / unreflected
0x08m_NativeFontAssetlongPrivate—
0x08m_GlyphsToRenderList<UnityEngine.TextCore.Glyph>Private—
0x08m_GlyphsRenderedList<UnityEngine.TextCore.Glyph>Private—
0x08m_GlyphIndexListList<System.UInt32>Private—
0x08m_GlyphIndexListNewlyAddedList<System.UInt32>Private—
0x08m_GlyphsToAddList<System.UInt32>1 flags—
0x08m_GlyphsToAddLookupHashSet<System.UInt32>1 flags—
0x08m_CharactersToAddList<UnityEngine.TextCore.Text.Character>1 flags—
0x08m_CharactersToAddLookupHashSet<System.UInt32>1 flags—
0x08s_MissingCharacterListList<System.UInt32>1 flags—
0x08m_MissingUnicodesFromFontFileHashSet<System.UInt32>1 flags—
0x08m_VariantGlyphIndexesDictionary<System.ValueTuple<System.UInt321 flags—
0x01m_IsClonebool1 flags—
0x08s_CallbackInstancesList<System.WeakReference<UnityEngine.TextCore.Text.FontAsset>>PrivateStatic+1 flags—
0x08k_ReadFontAssetDefinitionMarkerProfilerMarkerPrivateStatic—
0x08k_AddSynthesizedCharactersMarkerProfilerMarkerPrivateStatic—
0x08k_TryAddGlyphMarkerProfilerMarkerPrivateStatic—
0x08k_TryAddCharacterMarkerProfilerMarkerPrivateStatic—
0x08k_TryAddCharactersMarkerProfilerMarkerPrivateStatic—
0x08k_UpdateLigatureSubstitutionRecordsMarkerProfilerMarkerPrivateStatic—
0x08k_UpdateGlyphAdjustmentRecordsMarkerProfilerMarkerPrivateStatic—
0x08k_UpdateDiacriticalMarkAdjustmentRecordsMarkerProfilerMarkerPrivateStatic—
0x08k_ClearFontAssetDataMarkerProfilerMarkerPrivateStatic—
0x08k_UpdateFontAssetDataMarkerProfilerMarkerPrivateStatic—
0x08s_DefaultMaterialSuffixstringPrivateStatic—
0x08k_SearchedFontAssetLookupHashSet<System.Int32>PrivateStatic—
0x08k_FontAssets_FontFeaturesUpdateQueueList<UnityEngine.TextCore.Text.FontAsset>PrivateStatic—
0x08k_FontAssets_FontFeaturesUpdateQueueLookupHashSet<System.Int32>PrivateStatic—
0x08k_FontAssets_KerningUpdateQueueList<UnityEngine.TextCore.Text.FontAsset>PrivateStatic—
0x08k_FontAssets_KerningUpdateQueueLookupHashSet<System.Int32>PrivateStatic—
0x08k_FontAssets_AtlasTexturesUpdateQueueList<UnityEngine.Texture2D>PrivateStatic—
0x08k_FontAssets_AtlasTexturesUpdateQueueLookupHashSet<System.Int32>PrivateStatic—
0x08k_GlyphIndexArrayuint[]Static+1 flags—
0x08visitedFontAssetsHashSet<System.Int32>PrivateStatic—
0x02110x07unreflected bytes to end of FontAsset
Inherited from TextAsset 6
OffsetSizeNameTypeFlagsDefault
0x08m_Versionstring1 flags—
0x04m_EntityIdEntityId1 flags—
0x04m_InstanceIDint1 flags—
0x04m_HashCodeint1 flags—
0x002C0x04padding / unreflected
0x08m_MaterialMaterial1 flags—
0x04m_MaterialHashCodeint1 flags—
Inherited from Object 5
OffsetSizeNameTypeFlagsDefault
—0x04kInstanceID_NoneintPrivateStatic+1 flags8
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+2 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 185

SignatureFlagsNativeParams
void EnsureAdditionalCapacity(List<T> container, int additionalCapacity)PrivateStatic0x08
void EnsureAdditionalCapacity(Dictionary<TKey container, int additionalCapacity)PrivateStatic0x08
FontAssetCreationEditorSettings get_fontAssetCreationEditorSettings()Public+1 flags0x58
void set_fontAssetCreationEditorSettings(const FontAssetCreationEditorSettings& value)Public+1 flags0x58
Font get_sourceFontFile()Public+1 flags0x08
void set_sourceFontFile(Font value)2 flags0x08
AtlasPopulationMode get_atlasPopulationMode()Public+1 flags0x04
void set_atlasPopulationMode(const AtlasPopulationMode& value)Public+1 flags0x04
FaceInfo get_faceInfo()Public+1 flags0x60
void set_faceInfo(const FaceInfo& value)Public+1 flags0x60
int get_familyNameHashCode()2 flags0x04
void set_familyNameHashCode(int value)2 flags0x04
int get_styleNameHashCode()2 flags0x04
void set_styleNameHashCode(int value)2 flags0x04
List<UnityEngine.TextCore.Glyph> get_glyphTable()Public+1 flags0x08
void set_glyphTable(List<UnityEngine.TextCore.Glyph> value)2 flags0x08
Dictionary<System.UInt32 get_glyphLookupTable()Public+1 flags0x08
List<UnityEngine.TextCore.Text.Character> get_characterTable()Public+1 flags0x08
void set_characterTable(List<UnityEngine.TextCore.Text.Character> value)2 flags0x08
Dictionary<System.UInt32 get_characterLookupTable()Public+1 flags0x08
Texture2D get_atlasTexture()Public+1 flags0x08
Texture2D[] get_atlasTextures()Public+1 flags0x08
void set_atlasTextures(const Texture2D[]& value)Public+1 flags0x08
int get_atlasTextureCount()Public+1 flags0x04
bool get_isMultiAtlasTexturesEnabled()Public+1 flags0x01
void set_isMultiAtlasTexturesEnabled(bool value)Public+1 flags0x01
bool get_getFontFeatures()Public+1 flags0x01
void set_getFontFeatures(bool value)Public+1 flags0x01
bool get_clearDynamicDataOnBuild()2 flags0x01
void set_clearDynamicDataOnBuild(bool value)2 flags0x01
int get_atlasWidth()Public+1 flags0x04
void set_atlasWidth(int value)2 flags0x04
int get_atlasHeight()Public+1 flags0x04
void set_atlasHeight(int value)2 flags0x04
int get_atlasPadding()Public+1 flags0x04
void set_atlasPadding(int value)2 flags0x04
GlyphRenderMode get_atlasRenderMode()Public+1 flags0x04
void set_atlasRenderMode(const GlyphRenderMode& value)2 flags0x04
bool IsBitmap()1 flags0x01
bool IsRaster()1 flags0x01
bool IsColor()1 flags0x01
List<UnityEngine.TextCore.GlyphRect> get_usedGlyphRects()2 flags0x08
void set_usedGlyphRects(List<UnityEngine.TextCore.GlyphRect> value)2 flags0x08
List<UnityEngine.TextCore.GlyphRect> get_freeGlyphRects()2 flags0x08
void set_freeGlyphRects(List<UnityEngine.TextCore.GlyphRect> value)2 flags0x08
FontFeatureTable get_fontFeatureTable()Public+1 flags0x08
void set_fontFeatureTable(FontFeatureTable value)2 flags0x08
List<UnityEngine.TextCore.Text.FontAsset> get_fallbackFontAssetTable()Public+1 flags0x08
void set_fallbackFontAssetTable(List<UnityEngine.TextCore.Text.FontAsset> value)Public+1 flags0x08
FontWeightPair[] get_fontWeightTable()Public+1 flags0x08
void set_fontWeightTable(const FontWeightPair[]& value)2 flags0x08
float get_regularStyleWeight()Public+1 flags0x04
void set_regularStyleWeight(float value)Public+1 flags0x04
float get_regularStyleSpacing()Public+1 flags0x04
void set_regularStyleSpacing(float value)Public+1 flags0x04
float get_boldStyleWeight()Public+1 flags0x04
void set_boldStyleWeight(float value)Public+1 flags0x04
float get_boldStyleSpacing()Public+1 flags0x04
void set_boldStyleSpacing(float value)Public+1 flags0x04
byte get_italicStyleSlant()Public+1 flags0x01
void set_italicStyleSlant(byte value)Public+1 flags0x01
byte get_tabMultiple()Public+1 flags0x01
void set_tabMultiple(byte value)Public+1 flags0x01
FontAsset CreateFontAsset(const string& familyName, const string& styleName, int pointSize)PublicStatic0x08
FontAsset CreateFontAssetInternal(const string& familyName, const string& styleName, int pointSize)Static+1 flags0x08
FontAsset CreateFontAsset(const string& familyName, const string& styleName, int pointSize, int padding, const GlyphRenderMode& renderMode)PublicStatic0x08
List<UnityEngine.TextCore.Text.FontAsset> CreateFontAssetOSFallbackList(const string[]& fallbacksFamilyNames, int pointSize)Static+1 flags0x08
FontAsset CreateFontAssetWithOSFallbackList(const string[]& fallbacksFamilyNames, int pointSize)Static+1 flags0x08
FontAsset CreateFontAssetFromFamilyName(const string& familyName, int pointSize)PrivateStatic0x08
FontAsset CreateFontAsset(const string& fontFilePath, int faceIndex, int samplingPointSize, int atlasPadding, const GlyphRenderMode& renderMode, int atlasWidth, int atlasHeight)PublicStatic0x08
FontAsset CreateFontAsset(const string& fontFilePath, int faceIndex, int samplingPointSize, int atlasPadding, const GlyphRenderMode& renderMode, int atlasWidth, int atlasHeight, const AtlasPopulationMode& atlasPopulationMode, bool enableMultiAtlasSupport)PrivateStatic0x08
FontAsset CreateFontAsset(Font font)PublicStatic0x08
FontAsset CreateFontAsset(Font font, int samplingPointSize, int atlasPadding, const GlyphRenderMode& renderMode, int atlasWidth, int atlasHeight, const AtlasPopulationMode& atlasPopulationMode, bool enableMultiAtlasSupport)PublicStatic0x08
FontAsset CreateFontAsset(Font font, int faceIndex, int samplingPointSize, int atlasPadding, const GlyphRenderMode& renderMode, int atlasWidth, int atlasHeight, const AtlasPopulationMode& atlasPopulationMode, bool enableMultiAtlasSupport)PrivateStatic0x08
FontAsset CreateFontAssetInstance(Font font, int atlasPadding, const GlyphRenderMode& renderMode, int atlasWidth, int atlasHeight, const AtlasPopulationMode& atlasPopulationMode, bool enableMultiAtlasSupport)PrivateStatic0x08
void RegisterCallbackInstance(FontAsset instance)Private0x08
void OnDestroy()2 flags0x00
void ReadFontAssetDefinition()Public0x00
void InitializeDictionaryLookupTables()1 flags0x00
void InitializeLookup(ICollection source, ref Dictionary<System.UInt32& lookup, int defaultCapacity)PrivateStatic0x08
void InitializeList(ICollection source, ref List<T>& list, int defaultCapacity)PrivateStatic0x08
void InitializeGlyphLookupDictionary()1 flags0x00
void InitializeCharacterLookupDictionary()1 flags0x00
void ClearFallbackCharacterTable()1 flags0x00
void InitializeLigatureSubstitutionLookupDictionary()1 flags0x00
void InitializeGlyphPairAdjustmentRecordsLookupDictionary()1 flags0x00
void InitializeMarkToBaseAdjustmentRecordsLookupDictionary()1 flags0x00
void InitializeMarkToMarkAdjustmentRecordsLookupDictionary()1 flags0x00
void AddSynthesizedCharactersAndFaceMetrics()1 flags0x00
void AddSynthesizedCharacter(uint unicode, bool isFontFaceLoaded, bool addImmediately)Private0x04
void AddCharacterToLookupCache(uint unicode, Character character)1 flags0x08
void AddCharacterToLookupCache(uint unicode, Character character, const FontStyles& fontStyle, const TextFontWeight& fontWeight)1 flags0x08
bool GetCharacterInLookupCache(uint unicode, const FontStyles& fontStyle, const TextFontWeight& fontWeight, ref Character& character)1 flags0x08
void RemoveCharacterInLookupCache(uint unicode, const FontStyles& fontStyle, const TextFontWeight& fontWeight)1 flags0x04
bool ContainsCharacterInLookupCache(uint unicode, const FontStyles& fontStyle, const TextFontWeight& fontWeight)1 flags0x04
uint CreateCompositeKey(uint unicode, const FontStyles& fontStyle, const TextFontWeight& fontWeight)Private0x04
FontEngineError LoadFontFace()1 flags0x04
void SortCharacterTable()1 flags0x00
void SortGlyphTable()1 flags0x00
void SortFontFeatureTable()1 flags0x00
void SortAllTables()1 flags0x00
bool HasCharacter(int character)Public0x04
bool HasCharacter(ushort character, bool searchFallbacks, bool tryAddCharacter)Public0x02
bool HasCharacter(uint character, bool searchFallbacks, bool tryAddCharacter)Public0x04
bool HasCharacterWithStyle_Internal(uint character, const FontStyles& fontStyle, const TextFontWeight& fontWeight, bool searchFallbacks, bool tryAddCharacter)Private0x04
bool HasCharacter_Internal(uint character, const FontStyles& fontStyle, const TextFontWeight& fontWeight, bool searchFallbacks, bool tryAddCharacter)Private0x04
bool HasCharacters(const string& text, ref List<System.Char>& missingCharacters)Public0x08
bool HasCharacters(const string& text, ref uint[]& missingCharacters, bool searchFallbacks, bool tryAddCharacter)Public0x08
bool HasCharacters(const string& text)Public0x08
string GetCharacters(FontAsset fontAsset)PublicStatic0x08
int[] GetCharactersArray(FontAsset fontAsset)PublicStatic0x08
uint GetGlyphIndex(uint unicode)1 flags0x04
Glyph GetGlyphInCache(uint glyphID)1 flags0x08
uint GetGlyphIndex(uint unicode, ref bool& success)1 flags0x04
uint GetGlyphVariantIndex(uint unicode, uint variantSelectorUnicode)1 flags0x04
void UpdateFontAssetData()1 flags0x00
void ClearFontAssetData(bool setAtlasSizeToZero)Public0x01
void ClearCharacterAndGlyphTablesInternal()1 flags0x00
void ClearCharacterAndGlyphTables()Private0x00
void ClearFontFeaturesTables()Private0x00
void ClearAtlasTextures(bool setAtlasSizeToZero)1 flags0x01
void DestroyAtlasTextures()Private0x00
void RegisterFontAssetForFontFeatureUpdate(FontAsset fontAsset)Static+1 flags0x08
void RegisterFontAssetForKerningUpdate(FontAsset fontAsset)Static+1 flags0x08
void UpdateFontFeaturesForFontAssetsInQueue()Static+1 flags0x00
void RegisterAtlasTextureForApply(Texture2D texture)Static+1 flags0x08
void UpdateAtlasTexturesInQueue()Static+1 flags0x00
void UpdateFontAssetsInUpdateQueue()Static+1 flags0x00
bool TryAddCharacters(const uint[]& unicodes, bool includeFontFeatures)Public0x08
bool TryAddCharacters(const uint[]& unicodes, ref uint[]& missingUnicodes, bool includeFontFeatures)Public0x08
bool TryAddGlyphs(List<System.UInt32> glyphsToAdd)1 flags0x08
bool TryAddCharacters(const string& characters, bool includeFontFeatures)Public0x08
bool TryAddCharacters(const string& characters, ref string& missingCharacters, bool includeFontFeatures)Public0x08
bool TryAddGlyphVariantIndexInternal(uint unicode, uint nextCharacter, uint variantGlyphIndex)1 flags0x04
bool TryGetGlyphVariantIndexInternal(uint unicode, uint nextCharacter, ref uint& variantGlyphIndex)1 flags0x04
bool TryAddGlyphInternal(uint glyphIndex, ref Glyph& glyph, bool populateLigatures)1 flags0x08
bool TryAddCharacterInternal(uint unicode, ref Character& character)1 flags0x08
bool TryAddCharacterInternal(uint unicode, const FontStyles& fontStyle, const TextFontWeight& fontWeight, ref Character& character, bool populateLigatures)1 flags0x08
bool TryAddGlyphToAtlas(uint glyphIndex, ref Glyph& glyph, bool populateLigatures)Private0x08
bool TryAddGlyphToTexture(uint glyphIndex, ref Glyph& glyph, bool populateLigatures)Private0x08
bool TryAddGlyphsToNewAtlasTexture()Private0x01
void SetupNewAtlasTexture()Private0x00
Character CreateCharacterAndAddToCache(uint unicode, Glyph glyph, const FontStyles& fontStyle, const TextFontWeight& fontWeight)Private0x08
void UpdateFontFeaturesForNewlyAddedGlyphs()Private0x00
void UpdateGlyphAdjustmentRecordsForNewGlyphs()Private0x00
void UpdateGPOSFontFeaturesForNewlyAddedGlyphs()Private0x00
void ImportFontFeatures()1 flags0x00
void UpdateGSUBFontFeaturesForNewGlyphIndex(uint glyphIndex)Private0x04
void UpdateLigatureSubstitutionRecords()1 flags0x00
void AddLigatureSubstitutionRecords(const LigatureSubstitutionRecord[]& records)Private0x08
void UpdateGlyphAdjustmentRecords()1 flags0x00
void AddPairAdjustmentRecords(const GlyphPairAdjustmentRecord[]& records)Private0x08
void UpdateDiacriticalMarkAdjustmentRecords()1 flags0x00
void AddMarkToBaseAdjustmentRecords(const MarkToBaseAdjustmentRecord[]& records)Private0x08
void AddMarkToMarkAdjustmentRecords(const MarkToMarkAdjustmentRecord[]& records)Private0x08
long get_nativeFontAsset()2 flags0x08
void EnsureNativeFontAssetIsCreated()1 flags0x00
void UpdateFallbacks()1 flags0x00
void UpdateWeightFallbacks()1 flags0x00
void UpdateFaceInfo()1 flags0x00
void UpdateRenderMode()1 flags0x00
void UpdateItalicAngle()1 flags0x00
void UpdateBoldWeight()1 flags0x00
void UpdateBoldSpacing()1 flags0x00
IntPtr[] GetFallbacks()1 flags0x08
bool HasRecursion(FontAsset fontAsset)Private0x08
bool HasRecursionInternal(FontAsset fontAsset)Private0x08
ValueTuple<System.IntPtr[] GetWeightFallbacks()Private0x10
void UpdateFallbacks(long ptr, const IntPtr[]& fallbacks)PrivateStatic0x08
void UpdateWeightFallbacks(long ptr, const IntPtr[]& regularFallbacks, const IntPtr[]& italicFallbacks)PrivateStatic0x08
long Create(const FaceInfo& faceInfo, Font sourceFontFile, Font sourceFont_EditorRef, const string& sourceFontFilePath, const EntityId& fontEntityId, const IntPtr[]& fallbacks, const IntPtr[]& weightFallbacks, const IntPtr[]& italicFallbacks, const GlyphRenderMode& renderMode, byte italicSlant, float boldWeight, int boldSpacing, long managedObject)PrivateStatic0x60
void UpdateFaceInfo(long ptr, const FaceInfo& faceInfo)PrivateStatic0x60
void UpdateRenderMode(long ptr, const GlyphRenderMode& renderMode)PrivateStatic0x08
void UpdateItalicAngle(long ptr, byte italicAngle)PrivateStatic0x08
void UpdateBoldWeight(long ptr, float boldWeight)PrivateStatic0x08
void UpdateBoldSpacing(long ptr, int boldSpacing)PrivateStatic0x08
void Destroy(long ptr, long managedObject)PrivateStatic0x08
void CreateHbFaceIfNeeded()Static+1 flags0x00
void .ctor()Public+1 flags0x00
void .cctor()PrivateStatic+1 flags0x00
bool <TryAddGlyphs>b__231_0(uint glyphId)Private0x04
void UpdateFallbacks_Injected(long ptr, ref ManagedSpanWrapper& fallbacks)PrivateStatic0x10
void UpdateWeightFallbacks_Injected(long ptr, ref ManagedSpanWrapper& regularFallbacks, ref ManagedSpanWrapper& italicFallbacks)PrivateStatic0x10
long Create_Injected(ref FaceInfo& faceInfo, long sourceFontFile, long sourceFont_EditorRef, ref ManagedSpanWrapper& sourceFontFilePath, ref EntityId& fontEntityId, ref ManagedSpanWrapper& fallbacks, ref ManagedSpanWrapper& weightFallbacks, ref ManagedSpanWrapper& italicFallbacks, const GlyphRenderMode& renderMode, byte italicSlant, float boldWeight, int boldSpacing, long managedObject)PrivateStatic0x60
void UpdateFaceInfo_Injected(long ptr, ref FaceInfo& faceInfo)PrivateStatic0x60

Used by 54

types with a member, parameter or interface of this type