Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/TileView.h |
Include |
#include "Components/TileView.h" |
class UTileView : public UListView
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.
Name | Description | ||
---|---|---|---|
|
bWrapHorizontalNavigation |
True to allow left/right navigation to wrap back to the tile on the opposite edge |
|
|
float |
EntryHeight |
The height of each tile |
|
float |
EntryWidth |
The width of each tile |
|
TSharedPtr< STi... |
MyTileView |
|
|
TileAlignment |
The method by which to align the tile entries in the available space for the tile view |
Name | Description | |
---|---|---|
|
UTileView ( |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
ConstructTileView() |
STileView construction helper - useful if using a custom STileView subclass |
|
float |
GetEntryHeight() |
Gets the height of tile entries |
|
float |
GetEntryWidth() |
Gets the width of tile entries |
|
float |
GetTotalEntryHeight() |
|
|
float |
GetTotalEntryWidth() |
|
|
SetEntryHeight ( |
Sets the height of every tile entry |
|
|
SetEntryWidth ( |
Sets the width of every tile entry |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
RebuildListWidget() |
Implement in child classes to construct the actual ListView Slate widget |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name | Description | ||
---|---|---|---|
|
GetDesiredEntryPadding ( |
Gets the desired padding for the entry representing the given item |