UGameViewportClient::RemoveViewportWidgetContent

Removes a previously-added widget from the Slate viewport

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 RemoveViewportWidgetContent
(
    TSharedRef< class SWidget > ViewportContent
)

Remarks

Removes a previously-added widget from the Slate viewport

Parameters

Parameter

Description

ViewportContent

The widget to remove. Must be valid.

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