Children
Children
- smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>
Description
Contains references to the child entities of this entity.
Each child must contain a
Parent
component that points back to this entity. This component rarely needs to be created manually, consider using higher level utilities likeBuildChildren::with_children
which are safer and easier to use.See
HierarchyQueryExt
for hierarchy related methods onQuery
.
Functions
Function | Summary |
---|---|
swap(_self, a_index, b_index) | Swaps the child at `a_index` with the child at `b_index`. |