Struct GlyphAnchorPoint
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.
A GlyphAnchorPoint defines the position of an anchor point relative to the origin of a glyph. This data structure is used by the Mark-to-Base, Mark-to-Mark and Mark-to-Ligature OpenType font features.
Inherited Members
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
[Serializable]
public struct GlyphAnchorPoint
Properties
xCoordinate
The x coordinate of the anchor point relative to the glyph.
Declaration
public float xCoordinate { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
yCoordinate
The y coordinate of the anchor point relative to the glyph.
Declaration
public float yCoordinate { get; set; }
Property Value
| Type | Description |
|---|---|
| float |