What the achievements screen reads, so MiriGraphics links no networking: the game player installs a source over the platform social surface, a test installs a fake. ChangeSerial moves whenever a Refresh would return some
What SyncWorldWidgets needs from the host's camera to place world-anchored widget trees on the screen-space overlay: the combined view-projection, the viewport it maps into and where the camera is (for distance scale/fad
One resolved world-space UI widget quad for the host to draw as a real in-scene quad through SceneRenderer::SubmitWorldWidgetQuad. WorldMatrix maps a unit quad (centered on the origin, XY plane) to world space — already
Runtime owner of the live game-UI overlays. Scans a World for MiriGraphicsComponents, hosts code-driven Push/Pop screens next to them, instantiates each visible one from its .ui asset, composites them (ZOrder-sorted) int
Renders an Miri widget tree into an offscreen engine texture so the scene renderer can draw it as a real in-world quad (nameplates, ping markers). It reuses Miri's own CMiriRenderer against the bridge-adopted device — it
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 wi
Binds a .ui widget tree to an entity's position in the world — the WidgetComponent analog: nameplates over players, ping markers, interaction prompts. The host drives it through CMiriGraphicsScreenStack::SyncWorldWidgets
Forwards the engine's input actions to a UI router. A project that defines actions named UI.Accept, UI.Back, UI.NavUp ... in a mapping context (the same assets Enhanced Input evaluates) gets rebindable menu controls with
What fired a UI action: the authored action string and the widget event that carried it. Host is the screen stack that dispatched, so a handler can tell two worlds (PIE and a second preview) apart.
Where a handler is visible. Null Host is every stack in the process; a Host (a CMiriGraphicsScreenStack address) limits it to that stack, so a play session's handlers go away with the session's stack. A Screen limits it
Owning token for one registration; dropping it unregisters the handler. A registrant holds it for as long as the code behind the handler is alive (an actor holds it from BeginPlay to EndPlay), which is what stops a click
Action name -> handler, for every .ui button and widget event whose action is not a built-in verb. One registry serves the packaged game, the editor's play-in-editor session and the test hosts, so a handler registered fr
Pure keyframe math shared by the runtime player and the designer's scrub preview: per-key easing (the curve eases INTO each key from the previous one), clamped outside the key range, tolerant of unsorted or empty tracks.
A track with its property and every key's easing resolved, keys sorted by time: what a playing animation evaluates each frame. The authored form names both as strings, and evaluating it looked the easing name up for ever
Writes one animation's pose at a given time onto a built widget tree: host-level properties (opacity/translation/scale) go through the anim host wrapped around each target, colour goes to the named widget itself.
How PlayAnimation starts a timeline. Loop/Reverse default to the authored flags; OnFinished fires once when a non-looping run reaches its end pose (after the pose is applied, outside the per-screen animation loop).
One running timeline on a mounted screen. Owns a copy of the authored animation so a hot-reload that evicts the asset cache can never leave the player pointing at freed data.
How a child sits inside an auto-layout parent (box, overlay, grid) on one axis. Default is not an alignment — it means the node never had one written, so the parent keeps the layout it had before these fields existed.
A canvas slot resolved to its UMG-equivalent form: fractional anchors, the four per-side offsets, the alignment pivot and the size-to-content flags. Authored nodes carry the shorthand (anchor preset + position + size); t
One property → gameplay/Visual Script binding on a widget. Property is the widget field driven every frame (e.g. "percent", "text"); Source is a gameplay property path or a Visual Script expression (e.g. "Health / MaxHea
One variable a widget asset exposes to whoever embeds it. The asset names the variable, the node inside its own tree the value lands on and which property of that node it drives; a parent that references the asset with a
One widget event → host action wiring. Event names the widget delegate ("clicked", "changed", "committed"); Action is an opaque string the host's event sink dispatches — a C++ handler name today, a Visual Script function
One key on an animation track. Value carries scalar properties; Color is read instead when the owning track animates "color". Easing names the curve used to reach THIS key from the previous one ("linear", "cubic_out", "b
A named timeline on a screen: any number of tracks evaluated together. AutoPlay starts it whenever the screen mounts (or hot-reloads in); Loop wraps instead of finishing.
A single node in the serialized Miri widget tree: which Miri widget class to build, its canvas anchoring/placement, its widget-specific properties, its data bindings and its children. Value type — the whole tree is a pla
Decodes UI images off the main thread so swapping an icon in a list never hitches a frame. The decode function runs on the worker: it must not touch the GPU or any main-thread state. Upload stays with the caller, which t
Resolves .ui binding sources against live gameplay state. Two source forms are understood: - numeric literals ("0.75") — constant values, mostly for authoring tests; - reflection property paths ("Entity.Component.Propert
The authored form of a brush, kept as data so a .ui or .style round-trips byte for byte and a theme token can stand in for any field. Colours are MDF values: a vec4 is a literal, a string is "#rrggbb[aa]" or a colour tok
The seam through which a screen reaches a C++ controller object. MiriGraphics sits below Game, so it cannot name an actor or a world; the host layer that can (Game's FUIControllerBridge) installs these functions once, an
What a prompt shows for a pad button on each controller family. Labels are the text fallback; IconPath names the glyph image a project ships, which the factory loads through its image cache like any other UI image.
Free functions
Signature
Description
using FMiriGraphicsActionGlyphHook = std::function<bool(const std::string& action, std::string& outIcon, std::string& outText)>
The single place a menu action is decided. Hosts translate their device events into pad buttons, keys or named actions and feed them here; the router owns what each one means, repeats a held direction, and calls the atta
What the editor's UI inspector shows about a running game UI stack: its screens and layers, every focusable with the target each direction would take (the navigation preview), the router bindings, and the recent event lo
One screen stack per local player (split screen). Player 0 is the host's own stack, passed in; the others are owned here. Each stack has its own screens, focus, router and (optionally) input action system, and each overl
The named layers every screen is pushed onto. A layer owns a z band, so a toast never lands under a menu because someone picked 999 for it. "menu" is the band the integer z-order default (1000) always meant.
The widget that held focus when a screen opened over it, kept per covering screen so the pop gives focus back instead of resetting to the first focusable. Weak: a widget destroyed in between simply has nothing to restore
What one state of a style sets: widget props (only the Normal block's apply to the widget), the brush the state paints, and the sound played when the widget enters it.
The .style asset: named looks a widget takes with style: "Name" and an optional variant: "Variant". Parents are flattened when the asset loads, so a lookup never walks a chain.
A game-UI theme: the named colours, fonts and metrics a .ui resolves its tokens against. Serialized as MDF under the engine's existing .theme extension, so it browses, cooks and validates like every other text asset. A s
One resolved binding value the host supplies for a data-bound property. A binding source resolves to a number, a string, or both; Valid is false when the host has no value for that source (the authored default is left in
What a gamepad/keyboard direction does from a focused widget (UE's EUINavigation rules). Escape is the default: a spatial search across the whole screen, keeping focus at an edge. Stop refuses to move that way even when
The four direction rules of one widget, resolved through the node tree: a node's own nav_up / nav_down / nav_left / nav_right props override its parent's, so a menu panel sets "wrap" once and every button inside inherits
Turns a serialized .ui tree into a live Miri widget tree. The widget class name on each node keys a small construction table; named nodes are collected so a game can resolve them for script binding after instantiate.
One entry per ListView bound to a named collection (items_source). Refresh re-syncs the list when the collection's version moved and returns false once the widget is gone, so the host drops the entry.
using FMiriGraphicsBindingResolver = std::function<FMiriGraphicsBindingValue(const std::string& source)>
Host contract for data binding: given a binding source (a gameplay property path or Visual Script expression authored in the editor), return its current value. The screen stack passes this into Build so bound widgets pick up host state at instantiation, then re-resolves it every Tick to keep them live.
using FMiriGraphicsStyleProvider = std::function<const FMiriGraphicsStyle*(const std::string& path)>
using FMiriGraphicsStateSoundHook = std::function<void(const std::string& sound)>
using FMiriGraphicsMaterialResolver = std::function<std::shared_ptr<const Miri::FMiriCustomMaterial>(const std::string& path)>
using FMiriGraphicsRenderTargetResolver = std::function<FMiriGraphicsRenderTarget(const std::string& path)>
Host contract for widget events: the factory wires each authored Events { On { event, action } } entry on a node to the widget's matching delegate; firing calls the sink with the widget's name, the event name and the authored action string. The host decides what an action means — the game logs/dispatches to C++ handlers today, and a visual-script-backed sink that invokes a graph function by name attaches through the same signature later.
using FMiriGraphicsImageDecoder = Miri::Mowo::FMiriImageDecoder
Host contract for decoding an image asset ("Assets/UI/panel.png") into straight RGBA8 pixels. Injected by the host because image decoding lives in a higher tier (Game/AssetSystem); CMiriImageCache owns the GPU upload + cache.
using FMiriGraphicsAssetProvider = std::function<const FMiriGraphicsAsset*(const std::string& path)>
Host contract for resolving a referenced widget asset ("Assets/UI/Card.ui") when a UserWidget node embeds one. The host owns the cache and the lifetime; the returned asset must outlive the Build call. Returning null makes the node build as a placeholder rather than failing the whole screen.
Plain function pointers for the same cross-image reason as the named binding sources: a feature registers a captureless build function, never a std::function.
Free functions
Signature
Description
using FMiriGraphicsWidgetBuildFn = Miri::TSharedPtr<Miri::MWidget> (*)(const FMiriGraphicsNode& node, const FMiriGraphicsWidgetBuildEnv& env)
Pure geometry for the world-space UI widget quad — the part that decides where a nameplate sits in the scene, how large its offscreen texture should be at the current distance, whether it needs re-rendering this frame an
What a VideoPlayer widget needs from a clip, and nothing about how the clip is decoded. MiriGraphics sits below Game, where FMediaPlayer and the .media asset live, so the host injects a source factory the same way it inj
Free functions
Signature
Description
using FMiriGraphicsMediaSourceFactory = std::function<std::unique_ptr<IMiriGraphicsMediaSource>()>
The lobby screen's logic with no widgets in it: which view to show, what the footer may do, the status line, and the browser's ordering. The screen rebuilds only when Poll says the state it draws from changed, so a roste
What the lobby screen reads and drives. MiriGraphics sits below the networking session in nothing it may include, so the host that owns both — the game player — implements this over FNetSession and the platform's lobby l
The six screens a player expects to find in a pause menu. Anything the editor exposes that is not one of these is a developer knob and stays in Project Settings.
Where the value actually lives. Cvar rows go through IConsoleManager the way the editor's pages do; GlobalConfig rows are the handful of knobs the engine reads out of the config directly (the audio bus volumes); Host row
The data structs below carry std::string / std::vector members, so they are deliberately NOT dllexported: exporting one makes MSVC demand a DLL interface for every standard container inside it (C4251) while adding nothin
One row of the settings screen. Labels, defaults and descriptions are copied from the editor's Project Settings pages rather than reinvented, so the two screens never disagree about what a knob does.
What a game hands FGameUserSettings::RegisterRow to put a row on the player's settings screen: an id, a label, a type, a default, where the value goes (a console variable or a callback), when it is available and what the
What the device and the active graphics API can do, flattened away from RHI so the model is constructible with no device at all. Probe fills it from the live backend; a test fills it by hand.
UE5's GameUserSettings, in the shape this engine already has: cvars for the renderer knobs, GlobalConfig for the audio buses, and a per-user MDF file under <project>/Saved/Config that keeps the player's choices out of th
The two device families a rebind screen shows side by side. A row keeps one column per family so a player can see, and change, the keyboard and the pad binding of the same action without switching pages.
One action of one context, as the screen draws it. The data structs below carry std::string / std::vector members, so they are deliberately NOT dllexported: exporting one makes MSVC demand a DLL interface for every stand
A pair of actions that read the same physical source. The engine never refuses a conflicting bind — whether an overlap is intentional is a design call — so the screen reports it and lets the player decide.
Backs the in-game rebinding screen: enumerates every action the action system currently carries, captures a new source while in the listening state, reports conflicts, and writes through the player tier (<project>/Saved/
Runtime permissions for Visual Scripting. Permission: 0 microphone, 1 notifications. Status: 0 granted, 1 not asked yet, 2 denied once (the OS wants an explanation before it asks again), 3 denied for good (only the app's
The input-remapping surface for a game that builds its own controls screen in Visual Scripting or MiriGraphics instead of using the stock rebind screen: list every action with its keyboard and gamepad binding, start list
The in-game achievements list: each achievement with its name, description, unlocked state and date, and how rare it is, unlocked first. Hidden locked ones show as "Hidden achievement". It reads an IMiriAchievementSource
Transparent single-child wrapper the widget factory inserts around every node an animation targets. Layout-transparent always: it reports the child's desired size and hands the child a rect of its full allotted size. Ani
A UMG-style canvas: children are placed by anchor + offset + explicit size within this widget's allotted rect. Miri has no canvas panel, so the MiriGraphics runtime carries its own — the one widget the .ui factory needs
The co-op front door: a server browser with Host and Direct Connect while the player is in no session, the crew's ready-up lobby between runs, and a call-back card while the crew is out. It reads and drives an IMiriGraph
The in-game control-rebinding screen: one tab per input context, one row per action, a key cap per device family. Clicking a cap puts it into the listening state; the host then feeds the next raw key, button or axis to t
The player-facing settings screen: a category rail on the left, the rows of the selected category on the right, and Apply / Revert / Reset along the bottom. It reads FGameUserSettings, which reads the same cvars the edit
Hosts world-anchored widget trees on the screen-space overlay: each child is placed at the projected screen position of the entity it belongs to, scaled by distance and faded out past its draw distance. This is the proje
UMG's MediaPlayer + Image pairing in one node: binds a .media asset, owns the playback controls Visual Script reaches through MUIStatics, and shows the decoded frame through a hosted MImage so the picture takes the same