Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APawn
Description
Called when this actor becomes the given PlayerController's ViewTarget. Triggers the Blueprint event K2_OnBecomeViewTarget.
Virtual Inheritance
- AActor::BecomeViewTarget → APawn::BecomeViewTarget
| Name | BecomeViewTarget |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include Path | #include "GameFramework/Pawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
virtual void BecomeViewTarget
(
APlayerController * PC
)