Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

heightHeight of the line.
leadingSpace in pixels between this line and the next line.
startCharIdxIndex of the first character in the line.
topYThe upper Y position of the line in pixels. This is used for text annotation such as the caret and selection box in the InputField.