Class TMP_TextParsingUtilities
Inheritance
TMP_TextParsingUtilities
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public class TMP_TextParsingUtilities
Properties
instance
Get a singleton instance of the TextModuleUtilities.
Declaration
public static TMP_TextParsingUtilities instance { get; }
Property Value
Methods
GetHashCode(string)
Function returning the hashcode value of a given string.
Declaration
public static int GetHashCode(string s)
Parameters
| Type |
Name |
Description |
| string |
s |
|
Returns
GetHashCodeCaseSensitive(string)
Declaration
public static int GetHashCodeCaseSensitive(string s)
Parameters
| Type |
Name |
Description |
| string |
s |
|
Returns
IsHighSurrogate(uint)
Whether the scalar value is a Unicode high surrogate code unit.
Declaration
public static bool IsHighSurrogate(uint c)
Parameters
| Type |
Name |
Description |
| uint |
c |
Unicode scalar value to test; expected in UTF-32 form for surrogate-related APIs.
|
Returns
| Type |
Description |
| bool |
Whether the value lies in the high surrogate range from U+D800 through U+DBFF.
|
IsLowSurrogate(uint)
Whether the scalar value is a Unicode low surrogate code unit.
Declaration
public static bool IsLowSurrogate(uint c)
Parameters
| Type |
Name |
Description |
| uint |
c |
Unicode scalar value to test; expected in UTF-32 form for surrogate-related APIs.
|
Returns
| Type |
Description |
| bool |
Whether the value lies in the low surrogate range from U+DC00 through U+DFFF.
|
ToLowerASCIIFast(char)
Get lowercase version of this ASCII character.
Declaration
public static char ToLowerASCIIFast(char c)
Parameters
| Type |
Name |
Description |
| char |
c |
|
Returns
ToLowerASCIIFast(uint)
Get lowercase version of this ASCII character.
Declaration
public static uint ToLowerASCIIFast(uint c)
Parameters
| Type |
Name |
Description |
| uint |
c |
|
Returns
ToUpperASCIIFast(char)
Get uppercase version of this ASCII character.
Declaration
public static char ToUpperASCIIFast(char c)
Parameters
| Type |
Name |
Description |
| char |
c |
|
Returns
ToUpperASCIIFast(uint)
Get uppercase version of this ASCII character.
Declaration
public static uint ToUpperASCIIFast(uint c)
Parameters
| Type |
Name |
Description |
| uint |
c |
|
Returns