Version: 2020.2
언어: 한국어

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.