APlayerController::GetViewportSize

Helper to get the size of the HUD canvas for this player controller. Returns 0 if there is no HUD