class
MGraphicsStatOverlay
- Module
- MiriGraphics
- Header
#include "MiriGraphics/Widgets/MGraphicsStatOverlay.h"- Namespace
Miri
Constructors
| Signature | Name | Description |
|---|---|---|
MGraphicsStatOverlay() | 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. |
Public functions
| Returns | Name | Description |
|---|---|---|
void | SetInsets | 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. |
void | SetShowSuppressHint | A faint "DisableAllScreenMessages to suppress" line under the messages; a shipped game turns it on, the editor has the Message Log for this. |
MiriVec2 | ComputeDesiredSize | |
int32_t | OnPaint | |
int32_t | GetNumChildren | |
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 overrideOnPaint
C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const overrideGetNumChildren
C++
int32_t GetNumChildren() const overrideGetChildAt
C++
TSharedPtr<MWidget> GetChildAt(int32_t index) const overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from MiriGraphics/Widgets/MGraphicsStatOverlay.h via mirigraphics.json · Dec 5, 2026Version 1.1.0