/Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h
Gets the player pawn associated with this UI cast to the template type.
Gets the owning player pawn that's owned by the player controller assigned to this widget. May be NULL if the cast fails.
template<class T> T * GetOwningPlayerPawn() const