UScaleBoxSlot

The Slot for the [UScaleBoxSlot](API\Runtime\UMG\Components\UScaleBoxSlot), contains the widget displayed in a button's single slot

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/ScaleBoxSlot.h"

Syntax

class UScaleBoxSlot : public UPanelSlot

Remarks

The Slot for the UScaleBoxSlot, contains the widget displayed in a button's single slot

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.

Public variable

TEnumAsByte< EV...

 

VerticalAlignment

The alignment of the object vertically.

Constructors

Name Description

Public function

UScaleBoxSlot

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

BuildSlot

(
    TSharedRef< SScaleBox > InScaleBox
)

Builds the underlying slot for the slate ScaleBox.

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
)