Back to API Reference
Struct

PositionedGlyph

sealed

Represents a glyph with final position coordinates ready for rendering.

Remarks

This is the final output of the text processing pipeline, containing all information needed to render a glyph to a mesh or texture.
public int glyphId

The font-specific glyph identifier.

public int cluster

Index of the source codepoint cluster.

public float x

X position of the glyph origin.

public float y

Y position of the glyph origin.

public int fontId

The font ID used for this glyph.

public int shapedGlyphIndex

Index into the shaped glyphs buffer.

public float left

Left edge of the glyph bounding box.

public float top

Top edge of the glyph bounding box.

public float bottom

Bottom edge of the glyph bounding box.