Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Set the spectator pawn. Will also call AttachToPawn() using the new spectator.
Derived Overrides
| Name | SetSpectatorPawn |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
virtual void SetSpectatorPawn
(
ASpectatorPawn * NewSpectatorPawn
)