Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
Include |
#include "Blueprint/UserWidget.h" |
template<class T>
T * GetOwningPlayerPawn() const
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.