Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components > UWidget > GetOwningPlayer
- UWidget::GetOwningPlayer()
- UUserWidget::GetOwningPlayer()
- UUserWidget::GetOwningPlayer()
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/Widget.h |
Include | #include "Components/Widget.h" |
Source | /Engine/Source/Runtime/UMG/Private/Components/Widget.cpp |
UFUNCTION (BlueprintCallable, BlueprintCosmetic, Category="Widget")
virtual APlayerController * GetOwningPlayer() const
Remarks
Gets the player controller associated with this UI. The player controller that owns the UI.