UWidgetSwitcherSlot

The Slot for the [UWidgetSwitcher](API\Runtime\UMG\Components\UWidgetSwitcher), contains the widget that is flowed vertically

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/WidgetSwitcherSlot.h"

Syntax

class UWidgetSwitcherSlot : public UPanelSlot

Remarks

The Slot for the UWidgetSwitcher, contains the widget that is flowed vertically

Variables

Name Description

Public variable

TEnumAsByte< EH...

 

HorizontalAlignment

The alignment of the object horizontally.

Public variable

FMargin

 

Padding

The padding area between the slot and the content it contains.

Public variable

TEnumAsByte< EV...

 

VerticalAlignment

The alignment of the object vertically.

Constructors

Name Description

Public function

UWidgetSwitcherSlot

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

BuildSlot

(
    TSharedRef< SWidgetSwitcher > InWid...
)

Builds the underlying FSlot for the Slate layout panel.

Public function

void

 

SetContent

(
    UWidget* NewContent
)

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

Public function

void

 

SetHorizontalAlignment

(
    EHorizontalAlignment InHorizontalAl...
)

Public function

void

 

SetPadding

(
    FMargin InPadding
)

Public function

void

 

SetVerticalAlignment

(
    EVerticalAlignment InVerticalAlignm...
)

Overridden from UPanelSlot

Name Description

Public function Virtual

void

 

SynchronizeProperties()

Applies all properties to the live slot if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

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