Struct TMP_GlyphAdjustmentRecord
Important
This package is deprecated. From Unity 2023.2, TextMesh Pro is part of the Unity UI (uGUI) package. For current documentation, refer to TextMesh Pro in the Unity UI package.
The positional adjustment values of a glyph.
Inherited Members
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
[Serializable]
public struct TMP_GlyphAdjustmentRecord
Constructors
TMP_GlyphAdjustmentRecord(uint, TMP_GlyphValueRecord)
Constructor
Declaration
public TMP_GlyphAdjustmentRecord(uint glyphIndex, TMP_GlyphValueRecord glyphValueRecord)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | glyphIndex | The index of the glyph in the source font file. |
| TMP_GlyphValueRecord | glyphValueRecord | The GlyphValueRecord contains the positional adjustments of the glyph. |
Properties
glyphIndex
The index of the glyph in the source font file.
Declaration
public uint glyphIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
glyphValueRecord
The GlyphValueRecord contains the positional adjustments of the glyph.
Declaration
public TMP_GlyphValueRecord glyphValueRecord { get; set; }
Property Value
| Type | Description |
|---|---|
| TMP_GlyphValueRecord |