docs.unity3d.com
    Show / Hide Table of Contents

    Class TMP_TextParsingUtilities

    Inheritance
    Object
    TMP_TextParsingUtilities
    Namespace: TMPro
    Syntax
    public class TMP_TextParsingUtilities

    Properties

    instance

    Get a singleton instance of the TextModuleUtilities.

    Declaration
    public static TMP_TextParsingUtilities instance { get; }
    Property Value
    Type Description
    TMP_TextParsingUtilities

    Methods

    GetHashCode(String)

    Function returning the hashcode value of a given string.

    Declaration
    public static uint GetHashCode(string s)
    Parameters
    Type Name Description
    String s
    Returns
    Type Description
    UInt32

    GetHashCodeCaseSensitive(String)

    Declaration
    public static int GetHashCodeCaseSensitive(string s)
    Parameters
    Type Name Description
    String s
    Returns
    Type Description
    Int32

    IsHighSurrogate(UInt32)

    Check if Unicode is High Surrogate

    Declaration
    public static bool IsHighSurrogate(uint c)
    Parameters
    Type Name Description
    UInt32 c
    Returns
    Type Description
    Boolean

    IsLowSurrogate(UInt32)

    Check if Unicode is Low Surrogate

    Declaration
    public static bool IsLowSurrogate(uint c)
    Parameters
    Type Name Description
    UInt32 c
    Returns
    Type Description
    Boolean

    ToLowerASCIIFast(Char)

    Get lowercase version of this ASCII character.

    Declaration
    public static char ToLowerASCIIFast(char c)
    Parameters
    Type Name Description
    Char c
    Returns
    Type Description
    Char

    ToLowerASCIIFast(UInt32)

    Get lowercase version of this ASCII character.

    Declaration
    public static uint ToLowerASCIIFast(uint c)
    Parameters
    Type Name Description
    UInt32 c
    Returns
    Type Description
    UInt32

    ToUpperASCIIFast(Char)

    Get uppercase version of this ASCII character.

    Declaration
    public static char ToUpperASCIIFast(char c)
    Parameters
    Type Name Description
    Char c
    Returns
    Type Description
    Char

    ToUpperASCIIFast(UInt32)

    Get uppercase version of this ASCII character.

    Declaration
    public static uint ToUpperASCIIFast(uint c)
    Parameters
    Type Name Description
    UInt32 c
    Returns
    Type Description
    UInt32
    In This Article
    • Properties
      • instance
    • Methods
      • GetHashCode(String)
      • GetHashCodeCaseSensitive(String)
      • IsHighSurrogate(UInt32)
      • IsLowSurrogate(UInt32)
      • ToLowerASCIIFast(Char)
      • ToLowerASCIIFast(UInt32)
      • ToUpperASCIIFast(Char)
      • ToUpperASCIIFast(UInt32)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023