Navigation
API > API/Editor > API/Editor/ContentBrowser
An item in the asset list view
| Name | SAssetListItem |
| Type | class |
| Header File | /Engine/Source/Editor/ContentBrowser/Public/AssetViewWidgets.h |
| Include Path | #include "AssetViewWidgets.h" |
Syntax
class SAssetListItem : public SAssetViewItem
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SAssetViewItem → SAssetListItem
- FSlateControlledConstruction → SWidget → SCompoundWidget → SAssetViewItem → SAssetListItem
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~SAssetListItem() |
Destructor | AssetViewWidgets.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetThumbnail | TSharedPtr< FAssetThumbnail > | The handle to the thumbnail that this item is rendering | AssetViewWidgets.h | |
| CurrentThumbnailSize | TAttribute< EThumbnailSize > | Current thumbnail size when this widget was generated | AssetViewWidgets.h | |
| HighlightText | TAttribute< FText > | The string in the title to highlight (used when searching by string) | AssetViewWidgets.h | |
| IsSelectedExclusively | FIsSelected | Whether the item is selected in the view without anything else being selected | AssetViewWidgets.h | |
| ItemHeight | TAttribute< float > | The height allowed for this item | AssetViewWidgets.h | |
| PathTextWidget | TSharedPtr< STextBlock > | Path text widget, need to be updated when the AssetData changes | AssetViewWidgets.h | |
| ThumbnailPadding | float | The padding for the thumbnail | AssetViewWidgets.h | |
| ThumbnailWidget | TSharedPtr< SWidget > | The actual widget for the thumbnail | AssetViewWidgets.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanDisplayPrimitiveTools() |
Whether the widget should allow primitive tools to be displayed | AssetViewWidgets.h | |
void Construct
(
const FArguments& InArgs |
Constructs this widget with InArgs | AssetViewWidgets.h | |
virtual TSharedRef< SWidget > GenerateWidgetForColumn
(
const FName& ColumnName, |
Generates a widget for a particular column | AssetViewWidgets.h | |
virtual void OnMouseEnter
(
const FGeometry& MyGeometry, |
Handles realtime thumbnails | AssetViewWidgets.h | |
virtual void OnMouseLeave
(
const FPointerEvent& MouseEvent |
Handles realtime thumbnails | AssetViewWidgets.h |
Overridden from SAssetViewItem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnAssetDataChanged() |
Handles committing a name change | AssetViewWidgets.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetGenericThumbnailSize() |
Generic ThumbnailSize for the Thumbnail | AssetViewWidgets.h | |
bool ShouldAllowAssetActionOverlay
(
bool bForceGenericThumbnail |
Get if AssetAction should be visible | AssetViewWidgets.h | |
bool ShouldAllowAssetActionOverlayIndicator
(
bool bForceGenericThumbnail |
Get if the AssetAction indicator should be visible | AssetViewWidgets.h | |
bool ShouldAllowAssetStatusOverlay
(
bool bForceGenericThumbnail |
Get if AssetStatus should be visible | AssetViewWidgets.h |