Modules§
- prelude
- Convenience re-exports for typical
use bevy_many_relationships::prelude::*imports.
Structs§
- AddOutgoing
Relationships - Bevy-style construction component for adding outgoing relationships on spawn/insert.
- Incoming
Relationships - Tracks all incoming relationships of type
Rto this entity. - Many
Related Spawner Commands - Spawns many-related source entities targeting a specific entity.
- Many
Relationships Plugin - A plugin that enables many-relationship behavior.
- OnMany
Relationship Added - Event fired when a many-to-many relationship of type
Ris added. - OnMany
Relationship Removed - Event fired when a many-to-many relationship of type
Ris removed. - Outgoing
Relationships - Tracks all outgoing relationships of type
Rfrom this entity.
Traits§
- Many
Related Entity Commands - Extension trait on
EntityCommandsfor many-relationship ergonomics.
Functions§
- add_
many_ relationship - get_
relationship_ payload - Returns the relationship payload for an incoming edge by reading the source’s
outgoing map. Payloads are stored once on
OutgoingRelationships; this is the supported way to resolve payload data from the target side. - remove_
many_ relationship - set_
many_ relationship