Navigation
API > API/Editor > API/Editor/ContentBrowser
References
| Module | ContentBrowser |
| Header | /Engine/Source/Editor/ContentBrowser/Public/AssetViewSortManager.h |
| Include | #include "AssetViewSortManager.h" |
Syntax
class FAssetViewSortManager
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ExportColumnsToCSV
(
TArray< TSharedPtr< FAssetViewItem >>& AssetItems, |
Exports the list of asset items to CSV, in order and with the listed columns | |
| bool | FindAndRefreshCustomColumn
(
const TArray< TSharedPtr< FAssetViewItem >>& AssetItems, |
Refresh a custom column if needed. If found, returns true with TagType parameter set | |
| FName | GetSortColumnId
(
const EColumnSortPriority::Type InSortPriority |
Gets the current sort column id | |
| EColumnSortMode::Type | GetSortMode
(
const EColumnSortPriority::Type InSortPriority |
Gets the current sort mode | |
| void | ResetSort () |
Reset the sort mode back to default | |
| bool | SetOrToggleSortColumn
(
const EColumnSortPriority::Type InSortPriority, |
Sets the sort mode based on the column that was clicked, returns true if newly assigned | |
| void | SetSortColumnId
(
const EColumnSortPriority::Type InSortPriority, |
Sets the column to sort | |
| void | SetSortMode
(
const EColumnSortPriority::Type InSortPriority, |
Sets the current sort mode | |
| void | SortList
(
TArray< TSharedPtr< FAssetViewItem >>& AssetItems, |
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. |