# TextElement.Glyph

> Encapsulates a single glyph rendered inside a TextElement mesh. A glyph is a quad made of four vertices, laid out clockwise: bottom‑left → top‑left → top‑right → bottom‑right

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public readonly struct TextElement.Glyph
```

## Remarks

Each [Vertex](/engine/6000.5/script-reference/unityengine/uielements/vertex.md) stores:

* Position – 3‑D coordinates

* Color – per‑vertex tint

* UV0 (x,y) – location of the glyph in the atlas texture

* UV2.x – index of the texture slice inside a texture‑atlas array

* UV2.y – SDF scale (negative values indicate bold weight)

## Fields

| Value                                                                                            | Description                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [kind](/engine/6000.5/script-reference/unityengine/uielements/textelement/glyph/kind.md)         | What this glyph represents. See [TextElement.GlyphKind](/engine/6000.5/script-reference/unityengine/uielements/textelement/glyphkind.md).                                                                                   |
| [line](/engine/6000.5/script-reference/unityengine/uielements/textelement/glyph/line.md)         | Zero-based visual line number on which this glyph is laid out.                                                                                                                                                              |
| [linkID](/engine/6000.5/script-reference/unityengine/uielements/textelement/glyph/linkid.md)     | Value of the enclosing `<link=...>` tag, matching [\_linkID](/engine/6000.5/script-reference/unityengine/uielements/experimental/pointerdownlinktagevent/linkid.md), or `null` when the glyph is not inside a `<link>` tag. |
| [vertices](/engine/6000.5/script-reference/unityengine/uielements/textelement/glyph/vertices.md) | Four vertices that describe the glyph’s quad in BL‑TL‑TR‑BR order.                                                                                                                                                          |

## Properties

| Property                                                                                           | Description                                                                                                                                                          |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [textRange](/engine/6000.5/script-reference/unityengine/uielements/textelement/glyph/textrange.md) | Range of characters (UTF-16 code units) of [\_parsedText](/engine/6000.5/script-reference/unityengine/uielements/textelement/parsedtext.md) that this glyph renders. |
