UViewportWorldInteraction::IsTransformGizmoVisible

Returns whether the transform gizmo is actually visible right now.