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 |
UFUNCTION (BlueprintCallable, BlueprintCosmetic, Category="Player")
void SetOwningPlayer
(
APlayerController * LocalPlayerController
)
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. |