UUserWidget::SetOwningLocalPlayer

Sets the player associated with this UI via LocalPlayer reference.

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

void SetOwningLocalPlayer
(
    ULocalPlayer * LocalPlayer
)

Remarks

Sets the player associated with this UI via LocalPlayer reference.

Parameters

Parameter

Description

LocalPlayer

The local player you want to be the conceptual owner of this UI.

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