Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SLeafWidget
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SLeafWidget.h |
| Include | #include "Widgets/SLeafWidget.h" |
Syntax
class SLeafWidget : public SWidget
Remarks
Implements a leaf widget.
A LeafWidget is a Widget that has no slots for children. LeafWidgets are usually intended as building blocks for aggregate widgets.
Constructors
| Type | Name | Description | |
|---|---|---|---|
SLeafWidget () |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| void | SetVisibility
(
TAttribute< EVisibility > InVisibility |