{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class TMP_TextUtilities | TextMeshPro | 3.0.1
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class TMP_TextUtilities

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

    Methods

    Name Description
    DistanceToLine(Vector3, Vector3, Vector3)

    Function returning the Square Distance from a Point to a Line.

    FindIntersectingCharacter(TMP_Text, Vector3, Camera, bool)

    Function returning the index of the character at the given position (if any).

    FindIntersectingLine(TMP_Text, Vector3, Camera)

    Function returning the line intersecting the position.

    FindIntersectingLink(TMP_Text, Vector3, Camera)

    Function returning the index of the Link at the given position (if any).

    FindIntersectingWord(TMP_Text, Vector3, Camera)

    Function returning the index of the word at the given position (if any).

    FindNearestCharacter(TMP_Text, Vector3, Camera, bool)

    Function to find the nearest character to position.

    FindNearestCharacterOnLine(TMP_Text, Vector3, int, Camera, bool)

    Function returning the nearest character to position on a given line.

    FindNearestLine(TMP_Text, Vector3, Camera)

    Function returning the line nearest to the position.

    FindNearestLink(TMP_Text, Vector3, Camera)

    Function returning the index of the word at the given position (if any).

    FindNearestWord(TMP_Text, Vector3, Camera)

    Function returning the index of the word at the given position (if any).

    GetCursorIndexFromPosition(TMP_Text, Vector3, Camera)

    Function returning the index of the character whose origin is closest to the cursor.

    GetCursorIndexFromPosition(TMP_Text, Vector3, Camera, out CaretPosition)

    Function returning the index of the character whose origin is closest to the cursor.

    GetHashCode(string)

    Returns the case insensitive hashcode for the given string.

    GetSimpleHashCode(string)

    Function which returns a simple hashcode from a string.

    GetSimpleHashCodeLowercase(string)

    Function which returns a simple hashcode from a string converted to lowercase.

    HexToInt(char)

    Function to convert Hex to Int

    IsIntersectingRectTransform(RectTransform, Vector3, Camera)

    Function used to determine if the position intersects with the RectTransform.

    ScreenPointToWorldPointInRectangle(Transform, Vector2, Camera, out Vector3)

    Method to convert ScreenPoint to WorldPoint aligned with Rectangle

    StringHexToInt(string)

    Function to convert a properly formatted string which contains an hex value to its decimal value.

    ToLowerFast(char)

    Get lowercase version of this ASCII character.

    ToUpperFast(char)

    Get uppercase version of this ASCII character.

    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)