Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Slate
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SLeafWidget
- SDebugCanvas
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Slate/DebugCanvas.h |
| Include | #include "Slate/DebugCanvas.h" |
Syntax
class SDebugCanvas : public SLeafWidget
Remarks
Widget wrapper that paints the debug canvas
Constructors
| Type | Name | Description | |
|---|---|---|---|
SDebugCanvas () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| void | SetSceneViewport
(
FSceneViewport* InSceneViewport |
Sets the scene viewport that owns the canvas to draw |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float |
Overwritten from SWidget. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
SWidget interface |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |