UPanelSlot

The base class for all Slots in UMG.

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Public variable

UWidget *

 

Content

Public variable

UPanelWidget &#...

 

Parent

Constructors

Name Description

Public function

UPanelSlot

(
    const FObjectInitializer& ObjectIn...
)

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 Const

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

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