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