UGameViewportClient::DetachViewportClient

Cleans up all rooted or referenced objects created or managed by the GameViewportClient.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h

Include

#include "Engine/GameViewportClient.h"

Source

/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp

Syntax

virtual void DetachViewportClient()

Remarks

Cleans up all rooted or referenced objects created or managed by the GameViewportClient. This method is called when this GameViewportClient has been disassociated with the game engine (i.e. is no longer the engine's GameViewport).