Trait bevy::prelude::BuildChildren[]

pub trait BuildChildren {
    pub fn with_children(
        &mut self,
        f: impl FnOnce(&mut ChildBuilder<'_, '_>)
    ) -> &mut Self;
pub fn push_children(&mut self, children: &[Entity]) -> &mut Self;
pub fn insert_children(
        &mut self,
        index: usize,
        children: &[Entity]
    ) -> &mut Self; }

Required methods

pub fn with_children(
    &mut self,
    f: impl FnOnce(&mut ChildBuilder<'_, '_>)
) -> &mut Self

pub fn push_children(&mut self, children: &[Entity]) -> &mut Self

pub fn insert_children(
    &mut self,
    index: usize,
    children: &[Entity]
) -> &mut Self

Loading content...

Implementors

impl<'a, 'b> BuildChildren for EntityCommands<'a, 'b>

Loading content...