UWidget::GetOwningPlayer

Gets the player controller associated with this UI.

Windows
MacOS
Linux

Override Hierarchy

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/Widget.h

Include

#include "Components/Widget.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/Widget.cpp

Syntax

virtual APlayerController * GetOwningPlayer() const

Remarks

Gets the player controller associated with this UI.

Returns

The player controller that owns the UI.

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