Version: 2022.1
LanguageEnglish
  • C#

GlyphValueRecord

struct in UnityEngine.TextCore.LowLevel

Suggest a change

Success!

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.

Close

Submission failed

For 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.

Close

Cancel

Description

The values used to adjust the position of a glyph or set of glyphs.

Properties

xAdvanceThe positional adjustment that affects the horizontal advance of the glyph.
xPlacementThe positional adjustment that affects the horizontal bearing X of the glyph.
yAdvanceThe positional adjustment that affects the vertical advance of the glyph.
yPlacementThe positional adjustment that affectsthe horizontal bearing Y of the glyph.

Constructors

GlyphValueRecordConstructor for new glyph value record.