Module bevy_ecs::removal_detection
source · Expand description
Alerting events when a component is removed from an entity.
Structs§
- Wrapper around
EntityforRemovedComponents. Internally,RemovedComponentsuses these as anEvents<RemovedComponentEntity>. - Stores the
RemovedComponentsevent buffers for all types of component in a givenWorld. - Wrapper around a
ManualEventReader<RemovedComponentEntity>so that we can differentiate events between components. - A
SystemParamthat yields entities that had theirTComponentremoved or have been despawned with it.
Type Aliases§
- Iterator over entities that had a specific component removed.
- Iterator over entities that had a specific component removed.