APlayerController::GetPlayerViewPoint

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

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

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

out_Location, view location of player out_rotation, view rotation of player

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss