Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerState
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Return the pawn controlled by this Player State. | GameFramework/PlayerState.h |
|
|
T * GetPawn () |
Convenience helper to return a cast version of the pawn controlled by this Player State. | GameFramework/PlayerState.h |
GetPawn()
Description
Return the pawn controlled by this Player State.
| Name | GetPawn |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerState.h |
| Include Path | #include "GameFramework/PlayerState.h" |
UFUNCTION (BlueprintCallable, Category="PlayerState")
APawn * GetPawn() const
GetPawn()
Description
Convenience helper to return a cast version of the pawn controlled by this Player State.
| Name | GetPawn |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerState.h |
| Include Path | #include "GameFramework/PlayerState.h" |
template<class T>
T * GetPawn() const