ILevelEditor

Public interface to SLevelEditor

Unreal Engine C++ API Reference > Editor > LevelEditor

Inheritance Hierarchy

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/ILevelEditor.h
Include #include "ILevelEditor.h"

Syntax

class ILevelEditor :  
    public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget),  
    public [IToolkitHost](API\Editor\EditorFramework\Toolkits\IToolkitHost)  

Remarks

Public interface to SLevelEditor

Functions

Type Name Description
void AddStandaloneLevelViewport ( const TSharedRef< SLevelViewport > ... ) 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 > ... ) Append commands to the command list for the level editor
TSharedRef< ... CreateActorDetails ( const FName TabIdentifier ) Spawns an Actor Details widget
TSharedPtr< ... GetActiveViewportInterface () Gets the active level viewport for this level editor
TArray< TWea... GetAllSceneOutliners () Get an array containing weak pointers to all 4 Scene Outliners which could be potentially active
const UTyped... GetElementSelectionSet () Get the element selection set used by this level editor
const TArray... GetHostedToolkits () Returns a list of all of the toolkits that are currently hosted by this toolkit host
const TShare... GetLevelEditorActions () Access the level editor's action command list
FText GetLevelViewportContextMenuTitle () Gets the title for the context menu for this level editor
TSharedPtr< ... GetMostRecentlyUsedSceneOutliner () Return the most recently interacted with Outliner
UTypedElemen... GetMutableElementSelectionSet ()  
TArray< TSha... GetViewports () Gets an array of all viewports in this level editor
FReply OnKeyDownInViewport ( const FGeometry& MyGeometry, const FKeyEvent& InKeyEvent ) Called to process a key down event in a viewport when in immersive mode
void SetActorDetailsRootCustomization ( TSharedPtr< FDetailsViewObjectFilte..., TSharedPtr< IDetailRootObjectCustom... ) 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 ISCSEditorUICusto... ) 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& HitProx... ) 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< ... GetSceneOutliner () The Level Editor has multiple outliners, use GetAllSceneOutliners() or GetMostRecentlyUsedSceneOutliner() instead to avoid ambiguity
TSharedPtr< ... GetThumbnailPool () GetThumbnailPool has been replaced by UThumbnailManager::Get().GetSharedThumbnailPool().
void SummonLevelViewportContextMenu ( AActor* HitProxyActor ) Use the SummonLevelViewportContextMenu overload which takes a FTypedElementHandle.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library