Navigation
API > API/Editor > API/Editor/SceneOutliner
Templated helper to alleviate performance problems with sorting based on complex predicates. Example Usage: FSceneOutlinerSortHelper
Or: FSceneOutlinerSortHelper
| Name | FSceneOutlinerSortHelper |
| Type | struct |
| Header File | /Engine/Source/Editor/SceneOutliner/Public/SortHelper.h |
| Include Path | #include "SortHelper.h" |
Syntax
template<typename PrimaryKeyType, typename SecondaryKeyType>
struct FSceneOutlinerSortHelper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSceneOutlinerSortHelper() |
SortHelper.h |
Structs
| Name | Remarks |
|---|---|
| FSortPayload | Aggregated data from the sort methods. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FPrimaryFunction | TFunction< PrimaryKeyType(const ISceneOutlinerTreeItem &)> | SortHelper.h | |
| FSecondaryFunction | TFunction< SecondaryKeyType(const ISceneOutlinerTreeItem &)> | SortHelper.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PrimaryFunction | FPrimaryFunction | SortHelper.h | ||
| PrimarySortMode | EColumnSortMode::Type | SortHelper.h | ||
| SecondaryFunction | FSecondaryFunction | SortHelper.h | ||
| SecondarySortMode | EColumnSortMode::Type | SortHelper.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSceneOutlinerSortHelper & Primary
(
FPrimaryFunction&& Function, |
Sort primarily by the specified function and mode. | SortHelper.h | |
FSceneOutlinerSortHelper & Secondary
(
FSecondaryFunction&& Function, |
Sort secondarily by the specified function and mode. | SortHelper.h | |
void Sort
(
TArray< FSceneOutlinerTreeItemPtr >& Array |
Sort the specified array using the current sort settings | SortHelper.h |