unreal.LevelEditorMenuContext

class unreal.LevelEditorMenuContext

Bases: EnumBase

Enum to describe what a level editor context menu should be built for

C++ Source:

  • Module: LevelEditor

  • File: LevelEditorMenuContext.h

MAIN_MENU: LevelEditorMenuContext

This is the replica of the context menu that appears in the main menu bar (lists all entries)

Type:

2

SCENE_OUTLINER: LevelEditorMenuContext

This context menu is applicable to the Scene Outliner (disables click-position-based menu items)

Type:

1

VIEWPORT: LevelEditorMenuContext

This context menu is applicable to a viewport (limited subset of entries)

Type:

0