Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ASpectatorPawn
Description
Overridden to avoid changing network role. If subclasses want networked behavior, call the Pawn::PossessedBy() instead.
Virtual Inheritance
- APawn::PossessedBy → ASpectatorPawn::PossessedBy
| Name | PossessedBy |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/SpectatorPawn.h |
| Include Path | #include "GameFramework/SpectatorPawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SpectatorPawn.cpp |
virtual void PossessedBy
(
class AController * NewController
)