UWorld::GetFirstLocalPlayerFromController

Syntax

template<class T>
T * GetFirstLocalPlayerFromController() const

Remarks

Get the first valid local player via the first player controller.

May Return NULL if the cast fails.

Returns

Pointer to the first valid ULocalPlayer cast to the template type, or NULL if there is not one.

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/World.h