UOverlaySlot

Slot for the [UOverlay](API\Runtime\UMG\Components\UOverlay) panel.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/OverlaySlot.h"

Syntax

class UOverlaySlot : public UPanelSlot

Remarks

Slot for the UOverlay panel. Allows content to be hover above other content.

Variables

Name Description

Public variable

TEnumAsByte< EH...

 

HorizontalAlignment

The alignment of the object horizontally.

Public variable

FMargin

 

Padding

The padding area between the slot and the content it contains.

Protected variable

SOverlay::FOver...

 

Slot

A raw pointer to the slot to allow us to adjust the size, padding...etc at runtime.

Public variable

TEnumAsByte< EV...

 

VerticalAlignment

The alignment of the object vertically.

Constructors

Name Description

Public function

UOverlaySlot

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

void

 

BuildSlot

(
    TSharedRef< SOverlay > InOverlay
)

Builds the underlying FSlot for the Slate layout panel.

Public function

void

 

SetHorizontalAlignment

(
    EHorizontalAlignment InHorizontalAl...
)

Public function

void

 

SetPadding

(
    FMargin InPadding
)

Public function

void

 

SetVerticalAlignment

(
    EVerticalAlignment InVerticalAlignm...
)

Overridden from UPanelSlot

Name Description

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
)

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