Navigation
API > API/Editor > API/Editor/LevelEditor
References
| Module | LevelEditor |
| Header | /Engine/Source/Editor/LevelEditor/Public/LevelEditorActions.h |
| Include | #include "LevelEditorActions.h" |
Syntax
class FLevelEditorActionCallbacks
Remarks
Implementation of various level editor action callback functions
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Checks to see if at least one actor is selected | ||
| bool | Checks to see if multiple actors are selected | ||
| bool | ActorTypesSelected_CanExecute
(
EActorTypeFlags TypeFlags, |
Checks to see if at least one actor (of the given types) is selected | |
| AActor * | AddActor
(
UActorFactory* ActorFactory, |
||
| void | AddActor_Clicked
(
UActorFactory* ActorFactory, |
Called when the AddActor command is executed | |
| AActor * | AddActorFromClass
(
UClass* ActorClass |
||
| void | AddActorFromClass_Clicked
(
UClass* ActorClass |
Called when the AddActor command is executed and a class is selected in the actor browser | |
| void | Called when the AddActorsToGroup command is executed | ||
| void | Aligns brush vertices to the nearest grid point. | ||
| void | Called when the actor picker needs to be used to select a new parent actor | ||
| void | Called when attach selected actors is pressed | ||
| void | AttachToActor
(
AActor* ParentActorPtr |
||
| void | AttachToSocketSelection
(
FName SocketName, |
||
| void | Browse () |
Browses to the current map | |
| void | Opens the global documentation homepage | ||
| void | Opens the viewport controls page | ||
| bool | |||
| void | Build callbacks | ||
| void | |||
| void | |||
| bool | BuildExternalType_CanExecute
(
int32 Index |
||
| void | BuildExternalType_Execute
(
int32 Index |
||
| void | |||
| void | |||
| void | |||
| void | |||
| bool | |||
| void | |||
| void | |||
| void | |||
| void | |||
| bool | |||
| void | |||
| void | |||
| void | |||
| bool | CanBrowse () |
||
| bool | |||
| bool | |||
| bool | Can the selected actors be converted to a blueprint class in any of the supported ways? | ||
| bool | |||
| bool | |||
| bool | CanExecutePreviewPlatform
(
FPreviewPlatformInfo NewPreviewPlatform |
||
| bool | CanMoveSelectionToDifferent2DLayer
(
bool bGoingUp |
Checks to see if at least a single actor is selected and the 2D editor mode is enabled and there is a layer above/below the current setting | |
| bool | Save the current level as... | ||
| bool | |||
| bool | CanSaveWorld () |
Determine whether the level can be saved at this moment | |
| bool | Called to see if all selected actors are the same class | ||
| bool | Called to see if any components are selected | ||
| bool | Returns TRUE if the user can edit the game mode Blueprint, this requires the DefaultEngine config file to be writable | ||
| bool | CanSetWidgetMode
(
UE::Widget::EWidgetMode WidgetMode |
||
| bool | |||
| bool | Checks to see if at least a single actor is selected and the 2D editor mode is enabled | ||
| bool | |||
| void | Called when Check Out Modified Files is clicked | ||
| void | Checks out the Project Settings config | ||
| void | Clear the list of recent files. | ||
| void | ConfigureLightingBuildOptions
(
const FLightingBuildOptions& Options |
||
| void | Called when requesting connection to source control | ||
| void | Bring up the convert actors to blueprint UI | ||
| bool | |||
| void | Copy the file path where the actor is saved. | ||
| void | Helps the user create a Blueprint class | ||
| void | Called when create new outliner folder is clicked | ||
| bool | |||
| bool | The default can execute action for all commands unless they override it By default commands cannot be executed if the application is in K2 debug mode. | ||
| bool | |||
| void | Opens delta transform | ||
| bool | |||
| void | Called when 'detach' is clicked | ||
| bool | Called to check to see if the Edit commands can be executed | ||
| bool | |||
| void | EditAsset_Clicked
(
const EToolkitMode::Type ToolkitMode, |
Called to when "Edit Asset" is clicked | |
| bool | Checks to see if at least one element is selected | ||
| bool | Checks to see if at least one element is selected that can be translated | ||
| bool | Checks to see if multiple elements are selected | ||
| bool | Checks to see if multiple elements are selected that can be translated | ||
| void | ExecuteExecCommand
(
FString Command |
Called when many of the menu items in the level editor context menu are clicked | |
| void | Called when export all is selected | ||
| bool | |||
| void | Called when export selected is clicked | ||
| bool | |||
| void | Called when the FindInContentBrowser command is executed | ||
| void | |||
| void | GeneratePreviewJson_Clicked
(
FString PlatformName |
Called When Generate Preview Json is selected in the Platforms Preview Sub Menu | |
| bool | |||
| void | |||
| void | |||
| void | |||
| float | |||
| FText | |||
| bool | |||
| float | |||
| FText | |||
| float | |||
| float | |||
| float | |||
| float | |||
| float | |||
| float | |||
| float | |||
| float | |||
| int32 | |||
| UWorld * | GetWorld () |
Return a world | |
| void | GoHere_Clicked
(
const FVector* Point |
Called when the go here command is clicked | |
| bool | |||
| void | Called when 'Go to Code for Actor' is clicked | ||
| bool | |||
| void | Called when 'Go to Documentation for Actor' is clicked | ||
| bool | Checks to see if the selected actors can be grouped | ||
| void | Import content into a chosen location | ||
| void | Called when import scene is selected | ||
| bool | IsAttachableActor
(
const AActor*const ParentActor |
||
| bool | IsCoordinateSystemActive
(
ECoordSystem CoordSystem |
||
| bool | IsEditorModeActive
(
FEditorModeID EditorMode |
||
| bool | |||
| bool | |||
| bool | IsGeneratePreviewJsonVisible
(
FName PlatformName |
Is Generate Preview Json visible in the Platforms Preview Sub Menu | |
| bool | |||
| bool | IsLightingQualityChecked
(
ELightingBuildQuality TestQuality |
||
| ECheckBoxState | |||
| bool | |||
| bool | |||
| ECheckBoxState | |||
| bool | IsMaterialQualityLevelChecked
(
EMaterialQualityLevel::Type TestQualityLevel |
||
| bool | IsPreviewJsonVisible
(
FName PlatformName |
Is Preview Json visible in the Platforms Preview Sub Menu | |
| bool | |||
| bool | IsPreviewPlatformChecked
(
FPreviewPlatformInfo NewPreviewPlatform |
||
| bool | |||
| bool | |||
| bool | IsWidgetModeActive
(
UE::Widget::EWidgetMode WidgetMode |
||
| bool | |||
| bool | |||
| bool | |||
| void | |||
| bool | |||
| void | |||
| void | Called when the location grid snap is toggled off and on | ||
| bool | |||
| void | Called when the LockActorMovement command is executed | ||
| bool | |||
| void | Called when the LockGroup command is executed | ||
| void | MakeBuilderBrush
(
UClass* BrushBuilderClass |
||
| void | Called when the Map Check button is clicked. Invokes the Map Check dialog. | ||
| void | MoveElementsToElement_Clicked
(
bool InAlign |
Moves the selected elements to the last selected element. | |
| void | MoveElementsToGrid_Clicked
(
bool InAlign, |
Moves the selected elements to the grid. | |
| void | MoveSelectionToDifferent2DLayer_Clicked
(
bool bGoingUp, |
Snaps an actor to the currently selected 2D snap layer | |
| void | NewLevel () |
Creates a new level | |
| void | NewLevel
(
bool& bOutLevelCreated |
||
| bool | |||
| void | OnAddVolume
(
UClass* VolumeClass |
||
| void | |||
| void | |||
| void | Called to apply a material to selected surfaces | ||
| void | OnAudioMutedChanged
(
bool bMuted |
||
| void | OnAudioVolumeChanged
(
float Volume |
||
| void | Deselects the currently selected actor(s) levels in the level browser | ||
| void | |||
| void | |||
| void | |||
| void | Finds references to the currently selected actor(s) in level scripts | ||
| void | Finds the currently selected actor(s) level in the content browser | ||
| void | Selects the currently selected actor(s) levels in the level browser Deselecting everything else first | ||
| void | OnFocusOutlinerToContextFolder
(
TWeakPtr< SLevelEditor > LevelEditor |
Focuses the outliner on the context folder if it's currently set | |
| void | OnFocusOutlinerToSelection
(
TWeakPtr< SLevelEditor > LevelEditor |
Focuses the outliner on the selected actors | |
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| void | Called when "Keep Simulation Changes" is clicked in the viewport right click menu | ||
| void | Makes the currently selected actors level the current level If multiple actors are selected they must all be in the same level | ||
| void | Moves the currently selected actors to the current level | ||
| void | OnSelectAllActorsOfClass
(
bool bArchetype |
Called when selecting all actors of the same class that is selected | |
| void | Called to select all lights | ||
| void | Called when selecting the actor that owns the currently selected component(s) | ||
| void | Selects the currently selected actor(s) levels in the level browser | ||
| void | Called when selecting an Actor's (if available) owning HLOD cluster | ||
| void | Selects stationary lights that are exceeding the overlap limit. | ||
| void | Shows only selected actors, hiding any unselected actors and unhiding any selected hidden actors. | ||
| void | OnShowWorldProperties
(
TWeakPtr< SLevelEditor > LevelEditor |
Select the world info actor and show the properties | |
| void | OnSurfaceAlignment
(
ETexAlign AligmentMode |
Called to change bsp surface alignment | |
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | View callbacks | ||
| void | |||
| void | Open the Content Browser | ||
| void | OpenFavoriteFile
(
int32 FavoriteFileIndex |
Opens a favorite file | |
| void | OpenLevel () |
Opens an existing level | |
| bool | |||
| void | OpenLevelBlueprint
(
TWeakPtr< SLevelEditor > LevelEditor |
Open the level's blueprint in Kismet2 | |
| void | Open the Marketplace | ||
| void | Called when 'Open Merge Actor' is clicked | ||
| void | Open the Place Actors Panel | ||
| void | OpenRecentFile
(
int32 RecentFileIndex |
Opens a recent file | |
| void | Called to when "Open Selection in Property Matrix" is clicked | ||
| bool | |||
| bool | |||
| bool | |||
| void | PlayFromHere_Clicked
(
bool bFloatingWindow |
Called when selected actor can be used to start a play session | |
| bool | |||
| void | PreviewJson_Clicked
(
FName PlatformName, |
Called When Preview Json is selected in the Platforms Preview Sub Menu | |
| bool | |||
| void | Called when the recompile buttons are clicked. | ||
| void | Called when the RegroupActor command is executed | ||
| void | Called when the RemoveActorsFromGroup command is executed | ||
| void | RemoveFavorite
(
int32 FavoriteFileIndex |
Remove a favorite file from the favorites list | |
| bool | |||
| void | |||
| AActor * | ReplaceActors
(
UActorFactory* ActorFactory, |
||
| void | ReplaceActors_Clicked
(
UActorFactory* ActorFactory, |
Replaces currently selected actors with an actor from the given actor factory | |
| void | ReplaceActorsFromClass_Clicked
(
UClass* ActorClass |
Called when the ReplaceActor command is executed and a class is selected in the actor browser | |
| void | Called when the rotation grid snap is toggled off and on | ||
| bool | |||
| void | Save () |
Saves the current map | |
| bool | Checks whether SaveActor can be executed on the selected actors. | ||
| void | Save the actor. | ||
| void | Saves all unsaved maps (but not packages) | ||
| void | |||
| void | Called when the scale grid snap is toggled off and on | ||
| bool | |||
| void | Select2DLayerDeltaAway_Clicked
(
int32 Delta |
Changes the active 2D snap layer to one a delta above or below the current layer | |
| void | |||
| void | SetActorSnapSetting
(
float Distance |
||
| void | SetCoordinateSystem
(
ECoordSystem CoordSystem |
||
| void | SetLightingDensityColorScale
(
float Value |
||
| void | SetLightingDensityGrayscaleScale
(
float Value |
||
| void | SetLightingDensityIdeal
(
float Value |
||
| void | SetLightingDensityMaximum
(
float Value |
||
| void | |||
| void | SetLightingQuality
(
ELightingBuildQuality NewQuality |
||
| void | SetLightingResolutionBSPSurfaces
(
ECheckBoxState NewCheckedState |
||
| void | |||
| void | SetLightingResolutionMaxBSPs
(
float Value |
||
| void | SetLightingResolutionMaxSMs
(
float Value |
||
| void | SetLightingResolutionMinBSPs
(
float Value |
||
| void | SetLightingResolutionMinSMs
(
float Value |
||
| void | SetLightingResolutionRatio
(
int32 Value |
||
| void | SetLightingResolutionRatioCommit
(
int32 Value, |
||
| void | |||
| void | SetLightingResolutionStaticMeshes
(
ECheckBoxState NewCheckedState |
||
| void | SetMaterialQualityLevel
(
EMaterialQualityLevel::Type NewQualityLevel |
||
| void | SetPreviewPlatform
(
FPreviewPlatformInfo NewPreviewPlatform |
||
| void | SetWidgetMode
(
UE::Widget::EWidgetMode WidgetMode |
||
| bool | Checks whether ShowActorHistory can be executed on the selected actors. | ||
| void | Shows the history of the file containing the actor. | ||
| void | |||
| void | Called when the Scene Stats button is clicked. Invokes the Primitive Stats dialog. | ||
| void | Called when the Texture Stats button is clicked. Invokes the Texture Stats dialog. | ||
| void | SnapElementsToElement_Clicked
(
bool InAlign, |
Snaps the selected elements to another element. Optionally will align with the trace normal. | |
| void | Snaps a selected actor to the camera view. | ||
| void | Snaps an actor to the currently selected 2D snap layer | ||
| void | SnapToFloor_Clicked
(
bool InAlign, |
Snaps the selected elements to the floor. Optionally will align with the trace normal. | |
| bool | |||
| void | Called when Submit to Source Control is clicked | ||
| void | |||
| bool | |||
| bool | |||
| void | |||
| void | ToggleVR () |
Toggles VR mode | |
| bool | |||
| bool | |||
| bool | |||
| void | Called when the UngroupActor command is executed | ||
| void | Called when the UnlockGroup command is executed |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EActorTypeFlags |
Typedefs
| Name | Description |
|---|---|
| FNewLevelOverride |
Constants
| Name | Description |
|---|---|
| NewLevelOverride |