Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSceneViewport
Description
Adds a draw element for the debug canvas. Called externally by a widget that manages where the debug canvas draws
| Name | PaintDebugCanvas |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h |
| Include Path | #include "Slate/SceneViewport.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp |
void PaintDebugCanvas
(
const FGeometry & AllottedGeometry,
FSlateWindowElementList & OutDrawElements,
int32 LayerId
) const