SWidgetSwitcher::GetActiveWidgetIndex

Gets the slot index of the currently active widget.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWidgetSwitcher.h

Include

#include "Widgets/Layout/SWidgetSwitcher.h"

Syntax

int32 GetActiveWidgetIndex() const

Remarks

Gets the slot index of the currently active widget.

Returns

The slot index, or INDEX_NONE if no widget is active.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss