docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)