FAssetViewSortManager

Unreal Engine C++ API Reference > Editor > ContentBrowser

References

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

Syntax

class FAssetViewSortManager  

Constructors

Type Name Description
  FAssetViewSortManager () Constructor

Functions

Type Name Description
void ExportColumnsToCSV ( TArray< TSharedPtr< FAssetViewItem ..., TArray< FName >& ColumnList, const TArray< FAssetViewCustomColum..., FString& OutString ) Exports the list of asset items to CSV, in order and with the listed columns
bool FindAndRefreshCustomColumn ( const TArray< TSharedPtr< FAssetVie..., const FName ColumnName, const TArray< FAssetViewCustomColum..., UObject::FAssetRegistryTag::ETagTyp... ) Refresh a custom column if needed. If found, returns true with TagType parameter set
FName GetSortColumnId ( const EColumnSortPriority::Type InS... ) Gets the current sort column id
EColumnSortM... GetSortMode ( const EColumnSortPriority::Type InS... ) Gets the current sort mode
void ResetSort () Reset the sort mode back to default
bool SetOrToggleSortColumn ( const EColumnSortPriority::Type InS..., const FName& InColumnId ) Sets the sort mode based on the column that was clicked, returns true if newly assigned
void SetSortColumnId ( const EColumnSortPriority::Type InS..., const FName& InColumnId ) Sets the column to sort
void SetSortMode ( const EColumnSortPriority::Type InS..., const EColumnSortMode::Type InSortM... ) Sets the current sort mode
void SortList ( TArray< TSharedPtr< FAssetViewItem ..., const FName& MajorityAssetType, const TArray< FAssetViewCustomColum... ) Sorts a list using the current ColumnId and Mode.

Constants

Name Description
ClassColumnId  
NameColumnId The names of non-type specific columns in the columns view.
PathColumnId  
RevisionControlColumnId The revision control column. NOTE: This column currently doesn't support sorting, but is wired through the Sort Manager so the feature can be added in the future.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library