FSceneViewport::PaintDebugCanvas

Adds a draw element for the debug canvas.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h

Include

#include "Slate/SceneViewport.h"

Source

/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp

Syntax

void PaintDebugCanvas
(
    const FGeometry & AllottedGeometry,
    FSlateWindowElementList & OutDrawElements,
    int32 LayerId
) const

Remarks

Adds a draw element for the debug canvas. Called externally by a widget that manages where the debug canvas draws