class

MGraphicsNetGraph

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

Constructors

SignatureNameDescription
MGraphicsNetGraph()MGraphicsNetGraph

Public functions

ReturnsNameDescription
MiriVec2ComputeDesiredSize
int32_tOnPaint
int32_tGetNumChildren
TSharedPtr<MWidget>GetChildAt
const char*GetTypeName
voidSetShowsPlayerWarningsThe editor shows telemetry alerts as toasts, so its netgraph leaves the player banner out; a game keeps it.
int32_tGetLevelThe net.graph level (0 off, 1 text, 2 graphs, 3 graphs and hardware).
floatGetLastPaintedHeightThe height the netgraph took at the bottom of the screen on its last paint, margin included (0 when nothing was drawn): the stat block at the bottom-right stacks above it instead of over it.
voidRegisterBindingSourcesRegisters the perf. and net. MiriGraphics binding sources.

Function details

MGraphicsNetGraph

C++
MGraphicsNetGraph()

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

SetShowsPlayerWarnings

C++
void SetShowsPlayerWarnings(bool shows)

The editor shows telemetry alerts as toasts, so its netgraph leaves the player banner out; a game keeps it.

GetLevel

C++
static int32_t GetLevel()

The net.graph level (0 off, 1 text, 2 graphs, 3 graphs and hardware).

GetLastPaintedHeight

C++
static float GetLastPaintedHeight()

The height the netgraph took at the bottom of the screen on its last paint, margin included (0 when nothing was drawn): the stat block at the bottom-right stacks above it instead of over it.

RegisterBindingSources

C++
static void RegisterBindingSources()

Registers the perf. and net. MiriGraphics binding sources. Idempotent; hosts call it when they set up their overlay.

Generated from MiriGraphics/Widgets/MGraphicsNetGraph.h via mirigraphics.json · Dec 5, 2026Version 1.1.0