Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UWidget > API/Runtime/UMG/Components/UWidget/GetOwningPlayer
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/Widget.h |
Include | #include "Components/Widget.h" |
template<class TPlayerController>
TPlayerController &42; GetOwningPlayer&40;&41; const
Remarks
Gets the player controller associated with this UI cast to the template type. The player controller that owns the UI. May be NULL if the cast fails.