class
MDebugStatics
Blueprint's Print String and Draw Debug family for Visual Scripting and C++ gameplay. Every call is a no-op in release and profile: the timed list is drained by the world tick, so a shape drawn for two seconds is re-issued to DebugDraw every frame until its time is up — DebugDraw itself keeps nothing across frames.
- Module
- Game
- Header
#include "Game/MDebugStatics.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Public functions
| Returns | Name | Description |
|---|---|---|
void | PrintString | |
void | DrawDebugLine | |
void | DrawDebugSphere | |
void | DrawDebugBox | |
void | DrawDebugPoint | |
void | DrawDebugArrow | |
void | FlushDebugDraws | |
void | TickTimed | Called once per frame by the world tick: re-issues every live shape to DebugDraw and ages the list. |
const std::vector<FScreenMessage>& | ScreenMessages |
Function details
PrintString
C++
void PrintString(const std::string& text, float duration, const Vec3& color)DrawDebugLine
C++
void DrawDebugLine(const Vec3& start, const Vec3& end, const Vec3& color, float duration)DrawDebugSphere
C++
void DrawDebugSphere(const Vec3& center, float radius, const Vec3& color, float duration)DrawDebugBox
C++
void DrawDebugBox(const Vec3& center, const Vec3& halfExtents, const Vec3& color, float duration)DrawDebugPoint
C++
void DrawDebugPoint(const Vec3& location, float size, const Vec3& color, float duration)DrawDebugArrow
C++
void DrawDebugArrow(const Vec3& start, const Vec3& end, const Vec3& color, float duration)FlushDebugDraws
C++
void FlushDebugDraws()TickTimed
C++
static void TickTimed(float deltaSeconds)Called once per frame by the world tick: re-issues every live shape to DebugDraw and ages the list. The screen messages are read by whichever HUD wants them (the editor viewport overlay, the runtime debug HUD).
ScreenMessages
C++
static const std::vector<FScreenMessage>& ScreenMessages()Generated from Game/MDebugStatics.h via game.json · Nov 5, 2026Version 1.0.0