class
MGraphicsNetGraph
- Module
- MiriGraphics
- Header
#include "MiriGraphics/Widgets/MGraphicsNetGraph.h"- Namespace
Miri
Constructors
| Signature | Name | Description |
|---|---|---|
MGraphicsNetGraph() | MGraphicsNetGraph |
Public functions
| Returns | Name | Description |
|---|---|---|
MiriVec2 | ComputeDesiredSize | |
int32_t | OnPaint | |
int32_t | GetNumChildren | |
TSharedPtr<MWidget> | GetChildAt | |
const char* | GetTypeName | |
void | SetShowsPlayerWarnings | The editor shows telemetry alerts as toasts, so its netgraph leaves the player banner out; a game keeps it. |
int32_t | GetLevel | The net.graph level (0 off, 1 text, 2 graphs, 3 graphs and hardware). |
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. |
void | RegisterBindingSources | Registers the perf. and net. MiriGraphics binding sources. |
Function details
MGraphicsNetGraph
C++
MGraphicsNetGraph()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 overrideSetShowsPlayerWarnings
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