docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TMP_WordInfo

    Structure containing information about the individual words contained in the text object.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: TMPro
    Assembly: Unity.TextMeshPro.dll
    Syntax
    public struct TMP_WordInfo

    Fields

    characterCount

    Declaration
    public int characterCount
    Field Value
    Type Description
    int

    firstCharacterIndex

    Declaration
    public int firstCharacterIndex
    Field Value
    Type Description
    int

    lastCharacterIndex

    Declaration
    public int lastCharacterIndex
    Field Value
    Type Description
    int

    textComponent

    Declaration
    public TMP_Text textComponent
    Field Value
    Type Description
    TMP_Text

    Methods

    GetWord()

    Returns the word as a string.

    Declaration
    public string GetWord()
    Returns
    Type Description
    string
    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)