UWidget::GetOwningLocalPlayer

Gets the local player associated with this UI cast to the template type.

Windows
MacOS
Linux

References

Module

UMG

Header

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

Include

#include "Components/Widget.h"

Syntax

template<class T>
T * GetOwningLocalPlayer() const

Remarks

Gets the local player associated with this UI cast to the template type.

Returns

The owning local player. May be NULL if the cast fails.

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