UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SNullWidget Class Reference

#include <SNullWidget.h>

Static Public Attributes

static SLATECORE_API TSharedRef< class SWidgetNullWidget = NullWidgetPrivate::Construct()
 

Detailed Description

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.

Member Data Documentation

◆ NullWidget

SLATECORE_API TSharedRef< SWidget > SNullWidget::NullWidget = NullWidgetPrivate::Construct()
static

Returns a placeholder widget.

Returns
The widget.

The documentation for this class was generated from the following files: