Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Slate
Inheritance Hierarchy
- ICustomSlateElement
- FDebugCanvasDrawer
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Slate/DebugCanvas.h |
| Include | #include "Slate/DebugCanvas.h" |
Syntax
class FDebugCanvasDrawer : public ICustomSlateElement
Remarks
Custom Slate drawer to render a debug canvas on top of a Slate window
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginRenderingCanvas
(
const FIntRect& InCanvasRect |
Sets up the canvas for rendering | |
| FCanvas * | |||
| void | InitDebugCanvas
(
FViewportClient* ViewportClient, |
Creates a new debug canvas and enqueues the previous one for deletion | |
| void | Releases rendering resources |