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
| Type | Name | Description |
|---|---|---|
std::string | assetPath | |
int | zOrder | Default 0. |
bool | visible | Default true. |
bool | autoFocus | Default true. |
bool | mounted | Default false. |
Generated from MiriGraphics/ECS/Components/UIWidgetComponent.h via mirigraphics.json · Dec 5, 2026Version 1.1.0