Version: 2020.2
言語: 日本語

GlyphRect

struct in UnityEngine.TextCore

マニュアルに切り替える

説明

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

Static 変数

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.