Children

Children

  1. 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 like BuildChildren::with_children which are safer and easier to use.

See HierarchyQueryExt for hierarchy related methods on Query.

Functions

FunctionSummary
swap(_self, a_index, b_index) Swaps the child at `a_index` with the child at `b_index`.