Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Spawn a SpectatorPawn to use as a spectator and initialize it. By default it is spawned at the PC's current location and rotation.
Derived Overrides
| Name | SpawnSpectatorPawn |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
virtual ASpectatorPawn * SpawnSpectatorPawn()