docs.unity3d.com
    Show / Hide Table of Contents

    Struct CaretInfo

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

    Namespace: TMPro
    Syntax
    public struct CaretInfo

    Constructors

    CaretInfo(Int32, CaretPosition)

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

    Fields

    index

    Declaration
    public int index
    Field Value
    Type Description
    Int32

    position

    Declaration
    public CaretPosition position
    Field Value
    Type Description
    CaretPosition
    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