Version: 2022.3
언어: 한국어

GlyphRect

struct in UnityEngine.TextCore

매뉴얼로 전환

설명

A rectangle that defines the position of a glyph within an atlas texture.

정적 변수

zeroA GlyphRect with all values set to zero. Shorthand for writing GlyphRect(0, 0, 0, 0).

변수

heightThe height of the glyph.
widthThe width of the glyph.
xThe x position of the glyph in the font atlas texture.
yThe y position of the glyph in the font atlas texture.

생성자

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