Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > APlayerController
- AController::GetPlayerViewPoint()
- APlayerController::GetPlayerViewPoint()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
Include | #include "GameFramework/PlayerController.h" |
Source | /Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
virtual void GetPlayerViewPoint
&40;
FVector & Location,
FRotator & Rotation
&41; const
Remarks
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
out_Location, view location of player out_rotation, view rotation of player