Navigation
Unreal Engine C++ API Reference > 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 SetOwningPlayer
&40;
APlayerController &42; LocalPlayerController
&41;
Remarks
Sets the local player associated with this UI via PlayerController reference.
Parameters
Name | Description |
---|---|
LocalPlayerController | The PlayerController of the local player you want to be the conceptual owner of this UI. |