Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AController
- AController::GetPlayerViewPoint()
- APlayerController::GetPlayerViewPoint()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Controller.h |
Include | #include "GameFramework/Controller.h" |
Source | /Engine/Source/Runtime/Engine/Private/Controller.cpp |
UFUNCTION (BlueprintCallable, Category=Pawn)
virtual void GetPlayerViewPoint
(
FVector & Location,
FRotator & Rotation
) 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
@output out_Location, view location of player @output out_rotation, view rotation of player