Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout > API/Runtime/Slate/Widgets/Layout/SWidgetSwitcher
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWidgetSwitcher.h |
| Include | #include "Widgets/Layout/SWidgetSwitcher.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Layout/SWidgetSwitcher.cpp |
TSharedPtr< SWidget > GetWidget
&40;
int32 SlotIndex
&41; const
Remarks
Gets the widget in the specified slot. The widget, or nullptr if the slot does not exist.
Parameters
| Name | Description |
|---|---|
| SlotIndex | The slot index of the widget to get. |