Parent
Parent
- bevy_ecs::entity::Entity
Description
Holds a reference to the parent entity of this entity. This component should only be present on entities that actually have a parent entity.
Parent entity must have this entity stored in its
Children
component. It is hard to set up parent/child relationships manually, consider using higher level utilities likeBuildChildren::with_children
.See
HierarchyQueryExt
for hierarchy related methods onQuery
.
Functions
Function | Summary |
---|---|
assert_receiver_is_total_eq(_self) | No Documentation 🚧 |
eq(_self, other) | No Documentation 🚧 |
get(_self) | Gets the [`Entity`] ID of the parent. |