Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > APlayerController
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
Include | #include "GameFramework/PlayerController.h" |
UFUNCTION (BlueprintCallable, Category=Pawn)
ASpectatorPawn * GetSpectatorPawn() const
Remarks
Get the Pawn used when spectating. nullptr when not spectating.