Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APawn
- AActor::BecomeViewTarget()
- APawn::BecomeViewTarget()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include | #include "GameFramework/Pawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
virtual void BecomeViewTarget
(
APlayerController * PC
)
Remarks
Called when this actor becomes the given PlayerController's ViewTarget. Triggers the Blueprint event K2_OnBecomeViewTarget.