/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h
Adds a draw element for the debug canvas. Called externally by a widget that manages where the debug canvas draws
void PaintDebugCanvas ( const [FGeometry](API\Runtime\SlateCore\Layout\FGeometry) & AllottedGeometry, [FSlateWindowElementList](API\Runtime\SlateCore\Rendering\FSlateWindowElementList) & OutDrawElements, int32 LayerId ) const