bevy/examples/animation
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
..
animated_fox.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
animated_transform.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
animated_ui.rs Curve-based animation (#15434) 2024-09-30 19:56:55 +00:00
animation_graph.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
animation_masks.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
color_animation.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
cubic_curve.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00
custom_skinned_mesh.rs Migrate bevy_transform to required components (#14964) 2024-09-27 17:06:48 +00:00
gltf_skinned_mesh.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
morph_targets.rs Migrate lights to required components (#15554) 2024-10-01 03:20:43 +00:00