ULocalPlayer::CleanupViewState

Clear cached view state.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h

Include

#include "Engine/LocalPlayer.h"

Source

/Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp

Syntax

virtual void CleanupViewState()

Remarks

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)