Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include | #include "Engine/EngineTypes.h" |
Syntax
namespace EEndPlayReason
{
enum Type
{
Destroyed,
LevelTransition,
EndPlayInEditor,
RemovedFromWorld,
Quit,
}
}
Values
Name | Description |
---|---|
Destroyed | When the Actor or Component is explicitly destroyed. |
LevelTransition | When the world is being unloaded for a level transition. |
EndPlayInEditor | When the world is being unloaded because PIE is ending. |
RemovedFromWorld | When the level it is a member of is streamed out. |
Quit | When the application is being exited. |
Remarks
Specifies why an actor is being deleted/removed from a level