TextElement.CenterGlyphs property
Vertically centre what is actually DRAWN (the glyphs’ / emoji pictures’ own bounds) in the text’s box, instead of the font’s line box. For icon-only texts — typically a lone RichEmoji<sprite=N> used as a button or grid icon: an emoji sits on the text baseline, so with the default line-box centring it draws visibly ABOVE the middle of its box. Scales with any font size (no fixed offset). Leave it off for running text, where letters and inline emoji must share one baseline. Applies to the TextMeshPro path (styled / RichEmoji text); ignored on plain, Shadow and HUD-overlay text. Default false = unchanged. An init property (binary-compatible).
public bool CenterGlyphs { get; set; }See Also
Section titled “See Also”- record TextElement
- namespace Stellar.Abstractions.Services