Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Centers a glyph in the current window without exposing a native draw list.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public void InnoEditor.ImGui.ImGuiWidget.AddGlyphCentered(float fontSize, string text, System.Numerics.Vector2 center, uint color)

Parameter fontSize: The positive baked font size.

Parameter text: The glyph text.

Parameter center: The requested visible center in screen coordinates.

Parameter color: Packed text color.