GlyphRect

struct in UnityEngine.TextCore

Cambiar al Manual

Descripción

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

Variables Estáticas

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

Variables

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.

Constructores

GlyphRectConstructor for a new GlyphRect.