Navigation
API > API/Editor > API/Editor/UnrealEd
Configure settings for the 2D Level Editor
| Name | ULevelEditor2DSettings |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Settings/EditorProjectSettings.h |
| Include Path | #include "Settings/EditorProjectSettings.h" |
Syntax
UCLASS (Config=Editor, Meta=(DisplayName="2D"), defaultconfig, MinimalAPI)
class ULevelEditor2DSettings : public UDeveloperSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDeveloperSettings → ULevelEditor2DSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULevelEditor2DSettings
(
const FObjectInitializer& ObjectInitializer |
Settings/EditorProjectSettings.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnable2DWidget | bool | If enabled, shows the 2D combined translate and rotate tool in the viewport toolbar. | Settings/EditorProjectSettings.h |
|
| bEnableSnapLayers | bool | If enabled, shows the 2D layer snapping controls in the viewport toolbar. | Settings/EditorProjectSettings.h |
|
| SnapAxis | ELevelEditor2DAxis | Sets the world space axis for 2D snap layers. | Settings/EditorProjectSettings.h |
|
| SnapLayers | TArray< FMode2DLayer > | Snap layers that are displayed in the viewport toolbar. | Settings/EditorProjectSettings.h |
|
Functions
Public
Overridden from UDeveloperSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Settings/EditorProjectSettings.h |