UEngine::DrawOnscreenDebugMessages

UE_BUILD_SHIPPING.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h

Include

#include "Engine/Engine.h"

Source

/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp

Syntax

float DrawOnscreenDebugMessages
(
    UWorld * World,
    FViewport * Viewport,
    FCanvas * Canvas,
    UCanvas * CanvasObject,
    float MessageX,
    float MessageY
)

Remarks

Renders warnings about the level that should be addressed prior to shipping

Returns

The Y position in the canvas after the last drawn string

Parameters

Parameter

Description

World

The World to render stats about

Viewport

The viewport to render to

Canvas

Canvas object to use for rendering

CanvasObject

Optional canvas object for visualizing properties

MessageX

X Pos to start drawing at on the Canvas

MessageY

Y Pos to draw at on the Canvas

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss