Class TMP_FontUtilities | TextMesh Pro | 1.3.0
docs.unity.cn
    Show / Hide Table of Contents

    Class TMP_FontUtilities

    Inheritance
    Object
    TMP_FontUtilities
    Namespace: TMPro
    Syntax
    public static class TMP_FontUtilities

    Methods

    SearchForGlyph(List<TMP_FontAsset>, Int32, out TMP_Glyph)

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

    Declaration
    public static TMP_FontAsset SearchForGlyph(List<TMP_FontAsset> fonts, int character, out TMP_Glyph glyph)
    Parameters
    Type Name Description
    List<TMP_FontAsset> fonts
    Int32 character
    TMP_Glyph glyph
    Returns
    Type Description
    TMP_FontAsset

    SearchForGlyph(TMP_FontAsset, Int32, out TMP_Glyph)

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

    Declaration
    public static TMP_FontAsset SearchForGlyph(TMP_FontAsset font, int character, out TMP_Glyph glyph)
    Parameters
    Type Name Description
    TMP_FontAsset font

    The font asset to search for the given character.

    Int32 character

    The character to find.

    TMP_Glyph glyph

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

    Returns
    Type Description
    TMP_FontAsset
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX