class

MGraphicsStatOverlay

Module
MiriGraphics
Header
#include "MiriGraphics/Widgets/MGraphicsStatOverlay.h"
Namespace
Miri

Constructors

SignatureNameDescription
MGraphicsStatOverlay()MGraphicsStatOverlayPurely decorative, and it stretches over the whole window: left hit-testable it sits on top of the entire UI and swallows every pointer event, which looks exactly like an editor that has stopped responding to the mouse while it still draws and still takes the keyboard.

Public functions

ReturnsNameDescription
voidSetInsetsRoom to leave clear on each side: the editor passes the viewport's toolbar height as the top inset, a game its display safe zone.
voidSetShowSuppressHintA faint "DisableAllScreenMessages to suppress" line under the messages; a shipped game turns it on, the editor has the Message Log for this.
MiriVec2ComputeDesiredSize
int32_tOnPaint
int32_tGetNumChildren
TSharedPtr<MWidget>GetChildAt
const char*GetTypeName

Function details

MGraphicsStatOverlay

C++
MGraphicsStatOverlay()

Purely decorative, and it stretches over the whole window: left hit-testable it sits on top of the entire UI and swallows every pointer event, which looks exactly like an editor that has stopped responding to the mouse while it still draws and still takes the keyboard. The guarantee belongs here rather than at each call site, because the whole point of this widget is that a host parks one in its tree forever.

SetInsets

C++
void SetInsets(const MiriMargin& insets)

Room to leave clear on each side: the editor passes the viewport's toolbar height as the top inset, a game its display safe zone.

SetShowSuppressHint

C++
void SetShowSuppressHint(bool show)

A faint "DisableAllScreenMessages to suppress" line under the messages; a shipped game turns it on, the editor has the Message Log for this.

ComputeDesiredSize

C++
MiriVec2 ComputeDesiredSize(float scale) const override

OnPaint

C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const override

GetNumChildren

C++
int32_t GetNumChildren() const override

GetChildAt

C++
TSharedPtr<MWidget> GetChildAt(int32_t index) const override

GetTypeName

C++
const char* GetTypeName() const override
Generated from MiriGraphics/Widgets/MGraphicsStatOverlay.h via mirigraphics.json · Dec 5, 2026Version 1.1.0