UWidgetSwitcherSlot::SetContent

Sets the content of this slot, removing existing content if needed.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/WidgetSwitcherSlot.h

Include

#include "Components/WidgetSwitcherSlot.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/WidgetSwitcherSlot.cpp

Syntax

void SetContent
(
    UWidget * NewContent
)

Remarks

Sets the content of this slot, removing existing content if needed.

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