Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEngine
Description
Renders warnings about the level that should be addressed prior to shipping
| Name | DrawOnscreenDebugMessages |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
float DrawOnscreenDebugMessages
(
UWorld * World,
FViewport * Viewport,
FCanvas * Canvas,
UCanvas * CanvasObject,
float MessageX,
float MessageY
)
The Y position in the canvas after the last drawn string
Parameters
| Name | Remarks |
|---|---|
| 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 |