Navigation
API > API/Runtime > API/Runtime/UMG
The base class for all Slots in UMG.
| Name | UPanelSlot |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/PanelSlot.h |
| Include Path | #include "Components/PanelSlot.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI)
class UPanelSlot : public UVisual
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UPanelSlot
Derived Classes
UPanelSlot derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPanelSlot
(
const FObjectInitializer& ObjectInitializer |
Components/PanelSlot.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Content | TObjectPtr< class UWidget > | Components/PanelSlot.h |
|
|
| Parent | TObjectPtr< class UPanelWidget > | Components/PanelSlot.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool DragDropPreviewByDesigner
(
const FVector2D& LocalCursorPosition, |
Called by the designer when a design-time widget is dragged. | Components/PanelSlot.h | |
UWidget * GetContent() |
Components/PanelSlot.h |
|
|
bool IsDesignTime() |
Components/PanelSlot.h | ||
virtual bool NudgeByDesigner
(
const FVector2D& NudgeDirection, |
Called by the designer to "nudge" a widget in a direction. | Components/PanelSlot.h | |
virtual void SynchronizeFromTemplate
(
const UPanelSlot*const TemplateSlot |
Called by the designer when a design-time widget needs to have changes to its associated template synchronized. | Components/PanelSlot.h | |
virtual void SynchronizeProperties() |
Applies all properties to the live slot if possible. | Components/PanelSlot.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/PanelSlot.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Components/PanelSlot.h |