struct

UIWidgetComponent

Binds a .ui widget-tree asset to an entity. A game host that drives a CMiriGraphicsScreenStack (SyncFromWorld each tick, overlay mounted into its Miri root) instantiates each visible component's asset into a live Miri widget tree, composited as a screen-space overlay ordered by ZOrder.

Module
MiriGraphics
Header
#include "MiriGraphics/ECS/Components/UIWidgetComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
std::stringassetPath
intzOrderDefault 0.
boolvisibleDefault true.
boolautoFocusDefault true.
boolmountedDefault false.
Generated from MiriGraphics/ECS/Components/UIWidgetComponent.h via mirigraphics.json · Dec 5, 2026Version 1.1.0