UUserWidget::AddToScreen

Adds the widget to the screen, either to the viewport or to the player's screen depending on if the LocalPlayer is null.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h

Include

#include "Blueprint/UserWidget.h"

Source

/Engine/Source/Runtime/UMG/Private/UserWidget.cpp

Syntax

virtual void AddToScreen
(
    ULocalPlayer * LocalPlayer,
    int32 ZOrder
)

Remarks

Adds the widget to the screen, either to the viewport or to the player's screen depending on if the LocalPlayer is null.

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