Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ULocalPlayer
Description
Clear cached view state. Suitable for calling when cleaning up the world but the view state has some references objects (usually mids) owned by the world (thus preventing GC)
| Name | CleanupViewState |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h |
| Include Path | #include "Engine/LocalPlayer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp |
virtual void CleanupViewState
(
FStringView MidParentRootPath
)