UNamedSlot

Allows you to expose an external slot for your user widget.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/NamedSlot.h"

Syntax

class UNamedSlot : public UContentWidget

Remarks

Allows you to expose an external slot for your user widget. When others reuse your user control, they can put whatever they want in this named slot.

Variables

Name Description

Protected variable

TSharedPtr< SBo...

 

MyBox

Constructors

Name Description

Public function

UNamedSlot

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UPanelWidget

Name Description

Public function Virtual

void

 

OnSlotAdded

(
    UPanelSlot* Slot
)

Public function Virtual

void

 

OnSlotRemoved

(
    UPanelSlot* Slot
)

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

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