class in UnityEngine.TextCore
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseA Glyph is the visual representation of a text element or character.
atlasIndex | The index of the atlas texture that contains this glyph. |
glyphRect | A rectangle that defines the position of a glyph within an atlas texture. |
index | The index of the glyph in the source font file. |
metrics | The metrics that define the size, position and spacing of a glyph when performing text layout. |
scale | The relative scale of the glyph. The default value is 1.0. |
Glyph | Constructor for a new glyph. |
Compare | Compares two glyphs to determine if they have the same values. |