Language:
Discover
By Skill Level
By Category

UUserWidget::AddToScreen

Choose your OS:

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.

References

Module

UMG

Header

Runtime/UMG/Public/Blueprint/UserWidget.h

Source

Runtime/UMG/Private/UserWidget.cpp