Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Returns Player's Point of View For the AI this means the Pawn's 'Eyes' ViewPoint For a Human player, this means the Camera's ViewPoint
@output out_Location, view location of player @output out_rotation, view rotation of player
Virtual Inheritance
- AController::GetPlayerViewPoint → APlayerController::GetPlayerViewPoint
| Name | GetPlayerViewPoint |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
virtual void GetPlayerViewPoint
(
FVector & Location,
FRotator & Rotation
) const