Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UPanelSlot
- UBackgroundBlurSlot
- UBorderSlot
- UButtonSlot
- UCanvasPanelSlot
- UGridSlot
- UHorizontalBoxSlot
- ULoadGuardSlot
- UOverlaySlot
- UCommonVisibilitySwitcherSlot
- USafeZoneSlot
- UScaleBoxSlot
- UScrollBoxSlot
- USizeBoxSlot
- UStackBoxSlot
- UUniformGridSlot
- UVerticalBoxSlot
- UWidgetSwitcherSlot
- UWindowTitleBarAreaSlot
- UWrapBoxSlot
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/PanelSlot.h |
| Include | #include "Components/PanelSlot.h" |
Syntax
class UPanelSlot : public UVisual
Remarks
The base class for all Slots in UMG.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< class UWidget > | Content | ||
| TObjectPtr< class UPanelWidget > | Parent |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPanelSlot
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | DragDropPreviewByDesigner
(
const FVector2D& LocalCursorPosition, |
Called by the designer when a design-time widget is dragged. | |
| bool | IsDesignTime () |
||
| bool | NudgeByDesigner
(
const FVector2D& NudgeDirection, |
Called by the designer to "nudge" a widget in a direction. | |
| void | SynchronizeFromTemplate
(
const UPanelSlot*const TemplateSlot |
Called by the designer when a design-time widget needs to have changes to its associated template synchronized. | |
| void | Applies all properties to the live slot if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |