Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UUserWidget
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ULocalPlayer * GetOwningLocalPlayer () |
Gets the local player associated with this UI. | Blueprint/UserWidget.h | |
virtual T * GetOwningLocalPlayer () |
Gets the local player associated with this UI cast to the template type. | Blueprint/UserWidget.h |
GetOwningLocalPlayer()
Description
Gets the local player associated with this UI.
| Name | GetOwningLocalPlayer |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include Path | #include "Blueprint/UserWidget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/UserWidget.cpp |
virtual ULocalPlayer * GetOwningLocalPlayer() const
The owning local player.
GetOwningLocalPlayer()
Description
Gets the local player associated with this UI cast to the template type.
| Name | GetOwningLocalPlayer |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include Path | #include "Blueprint/UserWidget.h" |
template<class T>
virtual T * GetOwningLocalPlayer() const
The owning local player. May be NULL if the cast fails.