GlyphValueRecord
The values used to adjust the position of a glyph or set of glyphs.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.TextCore.LowLevel
- Assembly: UnityEngine.TextCoreFontEngineModule
- Implements: IEquatable<GlyphValueRecord>
public struct GlyphValueRecord : IEquatable<GlyphValueRecord>
Constructors
Constructor | Description |
|---|---|
| GlyphValueRecord(System.Single,System.Single,System.Single,System.Single) | Constructor for new glyph value record. |
Properties
Property | Description |
|---|---|
| xAdvance | The positional adjustment that affects the horizontal advance of the glyph. |
| xPlacement | The positional adjustment that affects the horizontal bearing X of the glyph. |
| yAdvance | The positional adjustment that affects the vertical advance of the glyph. |
| yPlacement | The positional adjustment that affectsthe horizontal bearing Y of the glyph. |