Navigation
API > API/Runtime > API/Runtime/UMG
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 | UTileView |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/TileView.h |
| Include Path | #include "Components/TileView.h" |
Syntax
UCLASS (MinimalAPI)
class UTileView : public UListView
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UListViewBase → UListView → UTileView
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTileView
(
const FObjectInitializer& ObjectInitializer |
Components/TileView.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEntrySizeIncludesEntrySpacing | bool | True if entry dimensions should be the sum of the entry widget dimensions and the spacing. | Components/TileView.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetEntryHeight() |
Gets the height of tile entries | Components/TileView.h |
|
float GetEntryWidth() |
Gets the width of tile entries | Components/TileView.h |
|
void SetEntryHeight
(
float NewHeight |
Sets the height of every tile entry | Components/TileView.h |
|
void SetEntryWidth
(
float NewWidth |
Sets the width of every tile entry | Components/TileView.h |
|
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/TileView.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< TileViewT< UObject * > > ConstructTileView() |
STileView construction helper - useful if using a custom STileView subclass | Components/TileView.h | |
float GetTotalEntryHeight() |
Components/TileView.h | ||
float GetTotalEntryWidth() |
Components/TileView.h |
Overridden from UListViewBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< STableViewBase > RebuildListWidget() |
Implement in child classes to construct the actual ListView Slate widget | Components/TileView.h |
Overridden from ITypedUMGListView
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the desired padding for the entry representing the given item | Components/TileView.h |