Navigation
API > API/Editor > API/Editor/UnrealEd
UUnrealEditorSubsystem Subsystem for exposing editor functionality to scripts
| Name | UUnrealEditorSubsystem |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/UnrealEditorSubsystem.h |
| Include Path | #include "Subsystems/UnrealEditorSubsystem.h" |
Syntax
UCLASS (MinimalAPI)
class UUnrealEditorSubsystem : public UEditorSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UDynamicSubsystem → UEditorSubsystem → UUnrealEditorSubsystem
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UWorld * GetEditorWorld () |
Find the World in the world editor. | Subsystems/UnrealEditorSubsystem.h |
|
UWorld * GetGameWorld() |
Subsystems/UnrealEditorSubsystem.h |
|
|
bool GetLevelViewportCameraInfo
(
FVector& CameraLocation, |
Gets information about the camera position for the primary level editor viewport. | Subsystems/UnrealEditorSubsystem.h |
|
void SetLevelViewportCameraInfo
(
FVector CameraLocation, |
Sets information about the camera position for the primary level editor viewport. | Subsystems/UnrealEditorSubsystem.h |
|