docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TMP_FontUtilities

    Inheritance
    object
    TMP_FontUtilities
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TMPro
    Assembly: Unity.TextMeshPro.dll
    Syntax
    public static class TMP_FontUtilities

    Methods

    SearchForCharacter(List<FontAsset>, uint, out Character)

    Search through the given list of fonts and their possible fallbacks for the specified character.

    Declaration
    public static FontAsset SearchForCharacter(List<FontAsset> fonts, uint unicode, out Character character)
    Parameters
    Type Name Description
    List<FontAsset> fonts
    uint unicode
    Character character
    Returns
    Type Description
    FontAsset

    SearchForCharacter(FontAsset, uint, out Character)

    Search through the given font and its fallbacks for the specified character.

    Declaration
    public static FontAsset SearchForCharacter(FontAsset font, uint unicode, out Character character)
    Parameters
    Type Name Description
    FontAsset font

    The font asset to search for the given character.

    uint unicode

    The character to find.

    Character character

    out parameter containing the glyph for the specified character (if found).

    Returns
    Type Description
    FontAsset
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)