UUniformGridSlot

A slot for [UUniformGridPanel](API\Runtime\UMG\Components\UUniformGridPanel), these slots all share the same size as the largest slot in the grid.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/UniformGridSlot.h"

Syntax

class UUniformGridSlot : public UPanelSlot

Remarks

A slot for UUniformGridPanel, these slots all share the same size as the largest slot in the grid.

Variables

Name Description

Public variable

int32

 

Column

The column index of the cell this slot is in

Public variable

TEnumAsByte< EH...

 

HorizontalAlignment

The alignment of the object horizontally.

Public variable

int32

 

Row

The row index of the cell this slot is in

Public variable

TEnumAsByte< EV...

 

VerticalAlignment

The alignment of the object vertically.

Constructors

Name Description

Public function

UUniformGridSlot

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

BuildSlot

(
    TSharedRef< SUniformGridPanel > Gri...
)

Builds the underlying FSlot for the Slate layout panel.

Public function

void

 

SetColumn

(
    int32 InColumn
)

Sets the column index of the slot, this determines what cell the slot is in the panel

Public function

void

 

SetHorizontalAlignment

(
    EHorizontalAlignment InHorizontalAl...
)

Public function

void

 

SetRow

(
    int32 InRow
)

Sets the row index of the slot, this determines what cell the slot is in the panel

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