Navigation
API > API/Editor > API/Editor/LevelEditor
Helper class to manage initalization options specific to the Level Editor Outliners Use AddCustomFilter/AddCustomClass Filter to register new filters in the Outliner. Make sure that the filters you attach have a category, otherwise they will not show up
| Name | FLevelEditorOutlinerSettings |
| Type | class |
| Header File | /Engine/Source/Editor/LevelEditor/Public/LevelEditorOutlinerSettings.h |
| Include Path | #include "LevelEditorOutlinerSettings.h" |
Syntax
class FLevelEditorOutlinerSettings : public TSharedFromThis< class FLevelEditorOutlinerSettings >
Inheritance Hierarchy
- TSharedFromThis< class FLevelEditorOutlinerSettings > → FLevelEditorOutlinerSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLevelEditorOutlinerSettings() |
LevelEditorOutlinerSettings.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FLevelEditorOutlinerSettings() |
LevelEditorOutlinerSettings.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOutlinerFilterFactory | TBaseDelegate_NoParams< TSharedPtr< FFilterBase< const ISceneOutlinerTreeItem & > > > | Delegate to create a Filter for the Outliner | LevelEditorOutlinerSettings.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| UncontrolledAssetsFilterName | const FString | LevelEditorOutlinerSettings.h | |
| UnsavedAssetsFilterName | const FString | LevelEditorOutlinerSettings.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BuiltInCustomFilters | TArray< TSharedRef< FFilterBase< const ISceneOutlinerTreeItem & > > > | The built in custom filters created by this instance | LevelEditorOutlinerSettings.h | |
| CustomClassFilters | TArray< TSharedRef< FCustomClassFilterData > > | These are the asset type filters that the Scene Outliner will have. | LevelEditorOutlinerSettings.h | |
| CustomFilterDelegates | TArray< FOutlinerFilterFactory > | These are delegates that will be used to create custom filters for each outliner that calls GetOutlinerFilters | LevelEditorOutlinerSettings.h | |
| CustomFilters | TArray< TSharedRef< FFilterBase< const ISceneOutlinerTreeItem & > > > | These are the custom filters that the Scene Outliner will have. | LevelEditorOutlinerSettings.h | |
| FilterBarCategories | TMap< FName, TSharedPtr< FFilterCategory > > | A map of the categories the Outliner filter bar will have | LevelEditorOutlinerSettings.h | |
| PlacementToFilterCategoryMap | TMap< FName, FName > | A map to convert placement mode built in categories to filter bar categories | LevelEditorOutlinerSettings.h | |
| UncontrolledPackages | TSet< FName > | List of currently uncontrolled packages. Using a set here because it can grow a lot and impact performances when looking up in the list. | LevelEditorOutlinerSettings.h | |
| UnsavedPackages | TSet< FName > | List of currently unsaved packages. Using a set here because it can grow a lot and impact performances when looking up in the list. | LevelEditorOutlinerSettings.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCustomClassFilter
(
TSharedRef< FCustomClassFilterData > InCustomClassFilterData |
Add a custom class filter to the outliner filter bar. | LevelEditorOutlinerSettings.h | |
void AddCustomFilter
(
TSharedRef< FFilterBase< const ISceneOutlinerTreeItem& > > InCustomFilter |
Add a custom filter to the outliner filter bar. These are all AND'd together | LevelEditorOutlinerSettings.h | |
void AddCustomFilter
(
FOutlinerFilterFactory InCreateCustomFilter |
Add a custom filter to the outliner filter bar. | LevelEditorOutlinerSettings.h | |
void CreateDefaultFilters() |
Creates the default filters that the level editor outliner has. | LevelEditorOutlinerSettings.h | |
TSharedPtr< FFilterCategory > GetFilterCategory
(
const FName& CategoryName |
Get the FFilterCategory attached to the given category name. Use this to add filters to the built in categories. | LevelEditorOutlinerSettings.h | |
void GetOutlinerFilters
(
FSceneOutlinerFilterBarOptions& OutFilterBarOptions |
Append the init options stored in this class to the given Outliner init options. | LevelEditorOutlinerSettings.h | |
void Initialize() |
LevelEditorOutlinerSettings.h | ||
void SetupBuiltInCategories() |
Setup the built in filter categories. | LevelEditorOutlinerSettings.h |