/Engine/Source/Runtime/GameplayDebugger/Public/GameplayDebuggerPlayerManager.h
Extracts view location and direction from a player controller that can be used for picking
static void GetViewPoint ( const [APlayerController](API\Runtime\Engine\GameFramework\APlayerController) & OwnerPC, FVector & OutViewLocation, FVector & OutViewDirection )