文档

Unity Engine

Unity Engine

ascent

The ascent of the font.
阅读时间1 分钟最后更新于 1 个月前

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.