Navigation
API > API/Editor > API/Editor/LevelEditor
Public interface to SLevelEditor
| Name | ILevelEditor |
| Type | class |
| Header File | /Engine/Source/Editor/LevelEditor/Public/ILevelEditor.h |
| Include Path | #include "ILevelEditor.h" |
Syntax
class ILevelEditor :
public SCompoundWidget,
public IToolkitHost
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → ILevelEditor
- FSlateControlledConstruction → SWidget → SCompoundWidget → ILevelEditor
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddActorDetailsSCSEditorUICustomization
(
TSharedPtr< class ISCSEditorUICustomization > ActorDetailsSCSEditorUICustomization |
Adds the UI customization of the SCSEditor inside the level editor details panel. | ILevelEditor.h | |
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 | ILevelEditor.h | |
void AppendCommands
(
const TSharedRef< FUICommandList >& InCommandsToAppend |
Append commands to the command list for the level editor | ILevelEditor.h | |
TSharedRef< SWidget > CreateActorDetails
(
const FName TabIdentifier |
Spawns an Actor Details widget | ILevelEditor.h | |
TSharedPtr< SLevelViewport > GetActiveViewportInterface() |
Gets the active level viewport for this level editor | ILevelEditor.h | |
TArray< TWeakPtr< ISceneOutliner > > GetAllSceneOutliners() |
Get an array containing weak pointers to all 4 Scene Outliners which could be potentially active | ILevelEditor.h | |
const UTypedElementSelectionSet * GetElementSelectionSet() |
Get the element selection set used by this level editor | ILevelEditor.h | |
const TArray< TSharedPtr< IToolkit > > & GetHostedToolkits() |
Returns a list of all of the toolkits that are currently hosted by this toolkit host | ILevelEditor.h | |
const TSharedPtr< FUICommandList > & GetLevelEditorActions() |
Access the level editor's action command list | ILevelEditor.h | |
FText GetLevelViewportContextMenuTitle() |
Gets the title for the context menu for this level editor | ILevelEditor.h | |
TSharedPtr< ISceneOutliner > GetMostRecentlyUsedSceneOutliner() |
Return the most recently interacted with Outliner | ILevelEditor.h | |
UTypedElementSelectionSet * GetMutableElementSelectionSet() |
ILevelEditor.h | ||
TArray< TSharedPtr< SLevelViewport > > GetViewports() |
Gets an array of all viewports in this level editor | ILevelEditor.h | |
TWeakPtr< UE::WorldHierarchy::IWorldHierarchy > GetWorldHierarchy() |
ILevelEditor.h | ||
FReply OnKeyDownInViewport
(
const FGeometry& MyGeometry, |
Called to process a key down event in a viewport when in immersive mode | ILevelEditor.h | |
void RemoveActorDetailsSCSEditorUICustomization
(
TSharedPtr< class ISCSEditorUICustomization > ActorDetailsSCSEditorUICustomization |
Remove the UI customization of the SCSEditor inside the level editor details panel. | ILevelEditor.h | |
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 | ILevelEditor.h | |
virtual void SetActorDetailsSCSEditorUICustomization
(
TSharedPtr< class ISCSEditorUICustomization > ActorDetailsSCSEditorUICustomization |
ILevelEditor.h | ||
void SetMostRecentlyUsedSceneOutliner
(
FName OutlinerIdentifier |
Set the outliner with the given name as the most recently interacted with | ILevelEditor.h | |
void SummonLevelViewportContextMenu
(
const FTypedElementHandle& HitProxyElement |
Summons a context menu for this level editor at the mouse cursor's location | ILevelEditor.h | |
void SummonLevelViewportViewOptionMenu
(
ELevelViewportType ViewOption |
Summons a context menu for view options | ILevelEditor.h |