UTileView

A ListView that presents the contents as a set of tiles all uniformly sized.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/TileView.h"

Syntax

class UTileView : public UListView

Remarks

A ListView that presents the contents as a set of tiles all uniformly sized.

To make a widget usable as an entry in a TileView, it must inherit from the IUserObjectListEntry interface.

Variables

Name Description

Protected variable

bool

 

bWrapHorizontalNavigation

True to allow left/right navigation to wrap back to the tile on the opposite edge

Protected variable

float

 

EntryHeight

The height of each tile

Protected variable

float

 

EntryWidth

The width of each tile

Protected variable

TSharedPtr< STi...

 

MyTileView

Protected variable

EListItemAlignm...

 

TileAlignment

The method by which to align the tile entries in the available space for the tile view

Constructors

Name Description

Public function

UTileView

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

TSharedRef< ...

 

ConstructTileView()

STileView construction helper - useful if using a custom STileView subclass

Protected function Const

float

 

GetTotalEntryHeight()

Protected function Const

float

 

GetTotalEntryWidth()

Public function

void

 

SetEntryHeight

(
    float NewHeight
)

Sets the height of every tile entry

Public function

void

 

SetEntryWidth

(
    float NewWidth
)

Sets the width if every tile entry

Overridden from UListViewBase

Name Description

Protected function Virtual

TSharedRef< ...

 

RebuildListWidget()

Implement in child classes to construct the actual ListView Slate widget

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

Overridden from ITypedUMGListView

Name Description

Protected function Virtual Const

FMargin

 

GetDesiredEntryPadding

(
    UObject* Item
)

Gets the desired padding for the entry representing the given item

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