Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UUserWidget
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 |
void SetOwningLocalPlayer
&40;
ULocalPlayer &42; LocalPlayer
&41;
Remarks
Sets the player associated with this UI via LocalPlayer reference.
Parameters
| Name | Description |
|---|---|
| LocalPlayer | The local player you want to be the conceptual owner of this UI. |