Navigation
API > API/Runtime > API/Runtime/SlateCore
Implements a widget that can be used as a placeholder.
Widgets that support slots, such as SOverlay and SHorizontalBox should initialize their slots' child widgets to SNullWidget if no user defined widget was provided.
| Name | SNullWidget |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SNullWidget.h |
| Include Path | #include "Widgets/SNullWidget.h" |
Syntax
class SNullWidget
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NullWidget | TSharedRef< class SWidget > | Returns a placeholder widget. | Widgets/SNullWidget.h |