ULocalPlayer::CleanupViewState

Clear cached view state.

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

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)

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