bevy/examples/ui
Joona Aalto de888a373d
Migrate lights to required components (#15554)
# Objective

Another step in the migration to required components: lights!

Note that this does not include `EnvironmentMapLight` or reflection
probes yet, because their API hasn't been fully chosen yet.

## Solution

As per the [selected
proposals](https://hackmd.io/@bevy/required_components/%2FLLnzwz9XTxiD7i2jiUXkJg):

- Deprecate `PointLightBundle` in favor of the `PointLight` component
- Deprecate `SpotLightBundle` in favor of the `PointLight` component
- Deprecate `DirectionalLightBundle` in favor of the `DirectionalLight`
component

## Testing

I ran some examples with lights.

---

## Migration Guide

`PointLightBundle`, `SpotLightBundle`, and `DirectionalLightBundle` have
been deprecated. Use the `PointLight`, `SpotLight`, and
`DirectionalLight` components instead. Adding them will now insert the
other components required by them automatically.
2024-10-01 03:20:43 +00:00
..
borders.rs use precomputed border values (#15163) 2024-09-26 23:10:35 +00:00
button.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
display_and_visibility.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
flex_layout.rs Omit font size where it closely matches the default in examples (#13952) 2024-06-20 21:01:28 +00:00
font_atlas_debug.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
grid.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
overflow_debug.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
overflow.rs Updates default Text font size to 24px (#13603) 2024-05-31 16:41:27 +00:00
relative_cursor_position.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
render_ui_to_texture.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
scroll.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
size_constraints.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
text_debug.rs Rename push children to add children (#15196) 2024-09-16 23:16:04 +00:00
text_wrap_debug.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
text.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
transparency_ui.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
ui_material.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
ui_scaling.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
ui_texture_atlas_slice.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
ui_texture_atlas.rs Make default behavior for BackgroundColor and BorderColor more intuitive (#14017) 2024-06-25 21:50:41 +00:00
ui_texture_slice_flip_and_tile.rs fix imports in example ui_texture_slice_flip_and_tile (#15064) 2024-09-06 06:00:43 +00:00
ui_texture_slice.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
ui.rs UI Scrolling (#15291) 2024-09-23 17:17:58 +00:00
viewport_debug.rs
window_fallthrough.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
z_index.rs Simplified ui_stack_system (#9889) 2024-09-30 18:43:57 +00:00