Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UListViewBase
- UListView
- UTileView
- UCommonTileView
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
Type | Name | Description | |
---|---|---|---|
![]() |
bool | 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< STileView< UObject * > > | MyTileView | |
![]() |
EListItemAlignment | TileAlignment | The method by which to align the tile entries in the available space for the tile view |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UTileView
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
TSharedRef< TileViewT< UObject * > > | STileView construction helper - useful if using a custom STileView subclass | |
![]() ![]() |
float | Gets the height of tile entries | |
![]() ![]() |
float | Gets the width of tile entries | |
![]() ![]() |
float | ||
![]() ![]() |
float | ||
![]() |
void | SetEntryHeight
(
float NewHeight |
Sets the height of every tile entry |
![]() |
void | SetEntryWidth
(
float NewWidth |
Sets the width of every tile entry |
Overridden from UListViewBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TSharedRef< STableViewBase > | Implement in child classes to construct the actual ListView Slate widget |
Overridden from UVisual
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ReleaseSlateResources
(
bool bReleaseChildren |
Overridden from ITypedUMGListView
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FMargin | GetDesiredEntryPadding
(
UObject* Item |
Gets the desired padding for the entry representing the given item |