Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UUserWidget > API/Runtime/UMG/Blueprint/UUserWidget/GetOwningLocalPlayer
- UWidget::GetOwningLocalPlayer()
- UUserWidget::GetOwningLocalPlayer()
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include | #include "Blueprint/UserWidget.h" |
template<class T>
virtual T * GetOwningLocalPlayer() const
Remarks
Gets the local player associated with this UI cast to the template type. The owning local player. May be NULL if the cast fails.