Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorEngine
Description
Returns the WorldContext for the editor world. For now, there will always be exactly 1 of these in the editor.
| Name | GetEditorWorldContext |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
| Include Path | #include "Editor/EditorEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
FWorldContext & GetEditorWorldContext
(
bool bEnsureIsGWorld
)
Parameters
| Name | Remarks |
|---|---|
| bEnsureIsGWorld | Temporarily allow callers to validate that this maps to GWorld to help track down any conversion bugs |