FAssetViewItem

An item (folder or file) displayed in the asset view

Unreal Engine C++ API Reference > Editor > ContentBrowser

References

   
Module ContentBrowser
Header /Engine/Source/Editor/ContentBrowser/Public/AssetViewTypes.h
Include #include "AssetViewTypes.h"

Syntax

class FAssetViewItem  

Remarks

An item (folder or file) displayed in the asset view

Constructors

Type Name Description
  FAssetViewItem ()  
  FAssetViewItem ( FContentBrowserItem&& InItem )  
  FAssetViewItem ( const FContentBrowserItem& InItem )  
  FAssetViewItem ( FContentBrowserItemData&& InItemDa... )  
  FAssetViewItem ( const FContentBrowserItemData& InI... )  

Functions

Type Name Description
void AppendItemData ( const FContentBrowserItem& InItem )  
void AppendItemData ( const FContentBrowserItemData& InI... )  
void CacheCustomColumns ( TArrayView< const FAssetViewCustomC..., const bool bUpdateSortData, const bool bUpdateDisplayText, const bool bUpdateExisting ) Updates cached custom column data (only does something for files)
void ClearCachedCustomColumns () Clear cached custom column data
void ClearRenameWhenScrolledIntoView () Clear that this item should enter inline renaming on the next scroll into view
bool GetCustomColumnDisplayValue ( const FName ColumnName, FText& OutText ) Get the display value of a custom column on this item
bool GetCustomColumnValue ( const FName ColumnName, FString& OutString, UObject::FAssetRegistryTag::ETagTyp... ) Get the value (and optionally also the type) of a custom column on this item
const FConte... GetItem () Get the underlying Content Browser item
bool GetTagValue ( const FName Tag, FString& OutString, UObject::FAssetRegistryTag::ETagTyp... ) Get the value (and optionally also the type) of a named tag on this item
bool IsFile ()  
bool IsFolder ()  
bool IsTemporary ()  
FSimpleMulti... OnItemDataChanged () Get the event fired when the data for this item changes
FSimpleDeleg... OnRenameCanceled () Get the event fired whenever a rename is canceled
FSimpleDeleg... OnRenameRequested () Get the event fired whenever a rename is requested
void RemoveItemData ( const FContentBrowserItem& InItem )  
void RemoveItemData ( const FContentBrowserItemData& InI... )  
void RenameWhenScrolledIntoView () Set that this item should enter inline renaming on the next scroll into view
bool ShouldRenameWhenScrolledIntoView () True if this item should enter inline renaming on the next scroll into view

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library