APlayerCameraManager::GetViewTargetPawn

Returns the ViewTarget if it is an [APawn](API\Runtime\Engine\GameFramework\APawn), or nullptr otherwise