bevy/crates/bevy_ui/src
pablo-lua 1e241fb6b4
Allow user to choose default ui camera (#11436)
# Objective

- Resolves #11377 

## Solution

- Add marker component `IsDefaultUiCamera` that will be choosen first as
the default camera.

If you want the IsDefaultUiCamera default camera to be in another
window, thats now possible.
- `IsDefaultUiCamera` is expected to be within a single Camera, if that
assertion fails, one PrimaryWindow Camera will be choosen.

---

## Changelog

### Added
- Added `IsDefaultUiCamera` marker component.

---------

Co-authored-by: Mateusz Wachowiak <mateusz_wachowiak@outlook.com>
2024-01-27 17:27:24 +00:00
..
layout Fix panic on Text UI without Cameras (#11405) 2024-01-18 20:33:22 +00:00
render UI and unloaded assets: don't filter out nodes with an unloaded image (#11205) 2024-01-24 22:15:43 +00:00
widget Texture Atlas rework (#5103) 2024-01-16 13:59:08 +00:00
accessibility.rs resolve all internal ambiguities (#10411) 2024-01-09 19:08:15 +00:00
focus.rs Camera-driven UI (#10559) 2024-01-16 00:39:10 +00:00
geometry.rs Made the remaining types from bevy_ui to reflect the Default trait if… (#11199) 2024-01-03 18:57:05 +00:00
lib.rs Texture Atlas rework (#5103) 2024-01-16 13:59:08 +00:00
measurement.rs Change the default for the measure_func field of ContentSize to None. (#9346) 2023-08-07 23:06:40 +00:00
node_bundles.rs Texture Atlas rework (#5103) 2024-01-16 13:59:08 +00:00
stack.rs Remove unnecessary parentheses (#10990) 2023-12-16 02:26:18 +00:00
ui_material.rs Provide GlobalsUniform in UiMaterial shaders (#10739) 2023-11-28 12:08:28 +00:00
ui_node.rs Allow user to choose default ui camera (#11436) 2024-01-27 17:27:24 +00:00
update.rs Camera-driven UI (#10559) 2024-01-16 00:39:10 +00:00