Navigation
API > API/Editor > API/Editor/LevelEditor
Inheritance Hierarchy
- SCompoundWidget
- IToolkitHost
- ILevelEditor
References
| Module | LevelEditor |
| Header | /Engine/Source/Editor/LevelEditor/Public/ILevelEditor.h |
| Include | #include "ILevelEditor.h" |
Syntax
class ILevelEditor :
public SCompoundWidget,
public IToolkitHost
Remarks
Public interface to SLevelEditor
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddStandaloneLevelViewport
(
const TSharedRef< SLevelViewport >& LevelViewport |
After spawning a new level viewport outside of the editor's tab system, this function must be called so that the editor can keep track of that viewport | |
| void | AppendCommands
(
const TSharedRef< FUICommandList >& InCommandsToAppend |
Append commands to the command list for the level editor | |
| TSharedRef< SWidget > | CreateActorDetails
(
const FName TabIdentifier |
Spawns an Actor Details widget | |
| TSharedPtr< SLevelViewport > | Gets the active level viewport for this level editor | ||
| TArray< TWeakPtr< ISceneOutliner > > | Get an array containing weak pointers to all 4 Scene Outliners which could be potentially active | ||
| const UTypedElementSelectionSet * | Get the element selection set used by this level editor | ||
| const TArray< TSharedPtr< IToolkit > > & | Returns a list of all of the toolkits that are currently hosted by this toolkit host | ||
| const TSharedPtr< FUICommandList > & | Access the level editor's action command list | ||
| FText | Gets the title for the context menu for this level editor | ||
| TSharedPtr< ISceneOutliner > | Return the most recently interacted with Outliner | ||
| UTypedElementSelectionSet * | |||
| TArray< TSharedPtr< SLevelViewport > > | GetViewports () |
Gets an array of all viewports in this level editor | |
| FReply | OnKeyDownInViewport
(
const FGeometry& MyGeometry, |
Called to process a key down event in a viewport when in immersive mode | |
| void | SetActorDetailsRootCustomization
(
TSharedPtr< FDetailsViewObjectFilter > ActorDetailsObjectFilter, |
Set the filter that should be used to determine the set of objects that should be shown in a details panel when an actor in the level editor is selected | |
| void | SetActorDetailsSCSEditorUICustomization
(
TSharedPtr< class ISCSEditorUICustomization > ActorDetailsSCSEditorUICustomization |
Sets the UI customization of the SCSEditor inside the level editor details panel. | |
| void | SetMostRecentlyUsedSceneOutliner
(
FName OutlinerIdentifier |
Set the outliner with the given name as the most recently interacted with | |
| void | SummonLevelViewportContextMenu
(
const FTypedElementHandle& HitProxyElement |
Summons a context menu for this level editor at the mouse cursor's location | |
| void | SummonLevelViewportViewOptionMenu
(
ELevelViewportType ViewOption |
Summons a context menu for view options |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< ISceneOutliner > | The Level Editor has multiple outliners, use GetAllSceneOutliners() or GetMostRecentlyUsedSceneOutliner() instead to avoid ambiguity | ||
| TSharedPtr< class FAssetThumbnailPool > | GetThumbnailPool has been replaced by UThumbnailManager::Get().GetSharedThumbnailPool(). | ||
| void | SummonLevelViewportContextMenu
(
AActor* HitProxyActor |
Use the SummonLevelViewportContextMenu overload which takes a FTypedElementHandle. |