UGameViewportClient::SetViewportOverlayWidget

Assigns the viewport overlay widget to use for this viewport client.

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

void SetViewportOverlayWidget
(
    TSharedPtr< SWindow > InWindow,
    TSharedRef< SOverlay > InViewportOverlayWidget
)

Remarks

Assigns the viewport overlay widget to use for this viewport client. Should only be called when first created

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