Struct CaretInfo
Structure which contains the character index and position of caret relative to the character.
Inherited Members
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public struct CaretInfo
Constructors
CaretInfo(int, CaretPosition)
Declaration
public CaretInfo(int index, CaretPosition position)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
CaretPosition | position |
Fields
index
Declaration
public int index
Field Value
Type | Description |
---|---|
int |
position
Declaration
public CaretPosition position
Field Value
Type | Description |
---|---|
CaretPosition |