APlayerState::GetPawn

Convenience helper to return a cast version of the pawn controlled by this Player State.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerState.h

Include

#include "GameFramework/PlayerState.h"

Syntax

template<class T>
T * GetPawn() const

Remarks

Convenience helper to return a cast version of the pawn controlled by this Player State.

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