UUserWidget::GetOwningPlayerPawn

Gets the player pawn associated with this UI.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h

Include

#include "Blueprint/UserWidget.h"

Source

/Engine/Source/Runtime/UMG/Private/UserWidget.cpp

Syntax

APawn * GetOwningPlayerPawn() const

Remarks

Gets the player pawn associated with this UI.

Returns

Gets the owning player pawn that's owned by the player controller assigned to this widget.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss