Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FPhysScene_Chaos
Description
Callback when a world ends, to mark updated packages dirty. This can't be done in final sync as the editor will ignore packages being dirtied in PIE. Also used to clean up any other references
| Name | OnWorldEndPlay |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/Experimental/PhysScene_Chaos.h |
| Include Path | #include "Physics/Experimental/PhysScene_Chaos.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/Experimental/PhysScene_Chaos.cpp |
void OnWorldEndPlay()