RestoreEditorWorld

Restores GWorld to the passed in one and reset the global flag indicating whether we are a PIE world or not.

Choose your operating system:

Windows

macOS

Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Editor.h

Include

#include "Editor.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Editor.cpp

Syntax

void RestoreEditorWorld
(
    UWorld * EditorWorld
)

Remarks

Restores GWorld to the passed in one and reset the global flag indicating whether we are a PIE world or not.

Parameters

Parameter

Description

EditorWorld

original world being edited