bevy/examples/3d
ira 13da481bea Add methods to Query<&Children> and Query<&Parent> to iterate over descendants and ancestors (#6185)
# Objective
Add methods to `Query<&Children>` and `Query<&Parent>` to iterate over descendants and ancestors, respectively.

## Changelog

* Added extension trait for `Query` in `bevy_hierarchy`, `HierarchyQueryExt`
* Added method `iter_descendants` to `Query<&Children>` via `HierarchyQueryExt` for iterating over the descendants of an entity.
* Added method `iter_ancestors` to `Query<&Parent>` via `HierarchyQueryExt` for iterating over the ancestors of an entity.

Co-authored-by: devil-ira <justthecooldude@gmail.com>
2022-10-31 15:57:50 +00:00
..
3d_scene.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
3d_shapes.rs Use plugin setup for resource only used at setup time (#6360) 2022-10-25 22:19:34 +00:00
lighting.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
lines.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
load_gltf.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
msaa.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
orthographic.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
parenting.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
pbr.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
render_to_texture.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
shadow_biases.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
shadow_caster_receiver.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
skybox.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
spherical_area_lights.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
split_screen.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
spotlight.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
texture.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
transparency_3d.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
two_passes.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
update_gltf_scene.rs Add methods to Query<&Children> and Query<&Parent> to iterate over descendants and ancestors (#6185) 2022-10-31 15:57:50 +00:00
vertex_colors.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
wireframe.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00