Skip to main content

descendants

Function descendants 

Source
pub fn descendants(world: &World, e: Entity) -> Vec<Entity>
Expand description

All descendants, including transient entities, each returned once. Children are visited deterministically; the root is excluded even on cycles. The parent map is built once, avoiding a world scan per visited node.