Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ascent

The ascent of the font.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TextRenderingModule
public int ascent { get; }

Remarks

The ascent of the font is the distance from the baseline to the top line of the font, as defined in the font's original data file.