UILineInfo
Information about a generated line of text.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.TextRenderingModule
public struct UILineInfo
Fields
Value | Description |
|---|---|
| height | Height of the line. |
| leading | Space in pixels between this line and the next line. |
| startCharIdx | Index of the first character in the line. |
| topY | The upper Y position of the line in pixels. This is used for text annotation such as the caret and selection box in the InputField. |