Navigation
API > API/Editor > API/Editor/ContentBrowser
| Name | FAssetViewSortManager |
| Type | class |
| Header File | /Engine/Source/Editor/ContentBrowser/Public/AssetViewSortManager.h |
| Include Path | #include "AssetViewSortManager.h" |
Syntax
class FAssetViewSortManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssetViewSortManager() |
Constructor | AssetViewSortManager.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AssetAccessSpecifierColumnId | const FName | AssetViewSortManager.h | |
| ClassColumnId | const FName | AssetViewSortManager.h | |
| DiskSizeColumnId | const FName | AssetViewSortManager.h | |
| NameColumnId | const FName | The names of non-type specific columns in the columns view. | AssetViewSortManager.h |
| PathColumnId | const FName | AssetViewSortManager.h | |
| RevisionControlColumnId | const FName | 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. | AssetViewSortManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SortColumnId | FName | The name of the column that is currently used for sorting. | AssetViewSortManager.h | |
| SortMode | EColumnSortMode::Type | Whether the sort is ascending or descending. | AssetViewSortManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ExportColumnsToCSV
(
TArray< TSharedPtr< FAssetViewItem > >& AssetItems, |
Exports the list of asset items to CSV, in order and with the listed columns | AssetViewSortManager.h | |
bool FindAndRefreshCustomColumn
(
const TArray< TSharedPtr< FAssetViewItem > >& AssetItems, |
Refresh a custom column if needed. If found, returns true with TagType parameter set | AssetViewSortManager.h | |
FName GetSortColumnId
(
const EColumnSortPriority::Type InSortPriority |
Gets the current sort column id | AssetViewSortManager.h | |
EColumnSortMode::Type GetSortMode
(
const EColumnSortPriority::Type InSortPriority |
Gets the current sort mode | AssetViewSortManager.h | |
void ResetSort() |
Reset the sort mode back to default | AssetViewSortManager.h | |
bool SetOrToggleSortColumn
(
const EColumnSortPriority::Type InSortPriority, |
Sets the sort mode based on the column that was clicked, returns true if newly assigned | AssetViewSortManager.h | |
void SetSortColumnId
(
const EColumnSortPriority::Type InSortPriority, |
Sets the column to sort | AssetViewSortManager.h | |
void SetSortMode
(
const EColumnSortPriority::Type InSortPriority, |
Sets the current sort mode | AssetViewSortManager.h | |
void SortList
(
TArray< TSharedPtr< FAssetViewItem > >& AssetItems, |
Sorts a list using the current ColumnId and Mode. | AssetViewSortManager.h |