UWorld::DestroyWorld

Destroy this World instance.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

void DestroyWorld
(
    bool bInformEngineOfWorld,
    UWorld * NewWorld
)

Remarks

Destroy this World instance. If destroying the world to load a different world, supply it here to prevent GC of the new world or it's sublevels.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss