docs.unity3d.com
    Show / Hide Table of Contents

    Struct CaretInfo

    Structure which contains the character index and position of caret relative to the character.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: TMPro
    Syntax
    public struct CaretInfo

    Constructors

    CaretInfo(Int32, CaretPosition)

    Declaration
    public CaretInfo(int index, CaretPosition position)
    Parameters
    Type Name Description
    System.Int32 index
    CaretPosition position

    Fields

    index

    Declaration
    public int index
    Field Value
    Type Description
    System.Int32

    position

    Declaration
    public CaretPosition position
    Field Value
    Type Description
    CaretPosition
    Back to top
    Copyright © 2025 Unity Technologies
    • 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 02 April 2025