---@diagnostic disable: missing-return, lowercase-global ---@param visible boolean ---Enables or disables display of UI elements in the 3-D world. Applies only to 2-D UI elements displayed in the 3-D world: nameplates and raid target icons (skull, circle, square, etc). Does not directly control nameplates and target icons -- only affects whether they are displayed (see the nameplateShowEnemies/nameplateShowFriends CVars and SetRaidTarget functions for direct control). Does not apply to 3-D UI elements such as the selection circle, area-effect targeting indicator, vehicle weapon aim indicator, etc. function SetUIVisibility(visible) end