SWidgetSwitcher::GetWidgetIndex

Gets the slot index of the specified widget.

Windows
MacOS
Linux

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

Syntax

int32 GetWidgetIndex
(
    TSharedRef< SWidget > Widget
) const

Remarks

Gets the slot index of the specified widget.

Returns

The slot index, or INDEX_NONE if the widget does not exist.

Parameters

Parameter

Description

Widget

The widget to get the index for.

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