Version: 2022.1
언어: 한국어

AscentCalculationMode

enumeration

매뉴얼로 전환

설명

Method used for calculating a font's ascent.

The ascent is the distance from the baseline to the top of the font. Font designers define this differently within the metrics of various fonts: some fonts will use the bounding box height, some will use cap height, and others will account for diacritics such as accent marks. Because these differences can affect vertical alignment of text, Unity offers multiple methods of determining the ascent value to use internally.

See https://en.wikipedia.org/wiki/Typeface#Font_metrics for additional information about ascent and font metrics.

변수

Legacy2xLegacy bounding box method.
FaceAscenderAscender method.
FaceBoundingBoxBounding box method.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961