Language:
Discover
By Skill Level
By Category

UPanelSlot

Choose your OS:

Inheritance Hierarchy

Syntax

class UPanelSlot : public UVisual

Remarks

The base class for all Slots in UMG.

Variables

Name Description

Public variable

UWidget *

 

Content

Public variable

UPanelWidget &#...

 

Parent

Constructors

Name Description

Public function

UPanelSlot

(
    const FObjectInitializer & ObjectIn...
)

UPanelSlot .

Functions

Name Description

Public function Virtual

bool

 

DragDropPreviewByDesigner

(
    const FVector2D & LocalCursorPositi...,
    const TOptional < int32 >& XGridSna...,
    const TOptional < int32 >& YGridSna...
)

Called by the designer when a design-time widget is dragged.

Public function

bool

 

IsDesignTime()

Public function Virtual

bool

 

NudgeByDesigner

(
    const FVector2D & NudgeDirection,
    const TOptional < int32 >& GridSnap...
)

Called by the designer to "nudge" a widget in a direction.

Public function Virtual

void

 

SynchronizeFromTemplate

(
    const UPanelSlot *const Templat...
)

Called by the designer when a design-time widget needs to have changes to its associated template synchronized.

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
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent & PropertyCha...
)

Called when a property on this object has been modified externally

References

Module

UMG

Header

Runtime/UMG/Public/Components/PanelSlot.h