Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Blueprint > UUserWidget > GetOwningPlayerPawn
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 |
APawn &42; GetOwningPlayerPawn&40;&41; const
Remarks
Gets the player pawn associated with this UI. Gets the owning player pawn that's owned by the player controller assigned to this widget.