propagate_inherited

Function propagate_inherited 

Source
pub fn propagate_inherited<C, F, R>(
    commands: Commands<'_, '_>,
    changed: Query<'_, '_, (&Inherited<C>, &<R as Relationship>::RelationshipTarget), (Changed<Inherited<C>>, Without<PropagateStop<C>>, F)>,
    recurse: Query<'_, '_, (Option<&<R as Relationship>::RelationshipTarget>, Option<&Inherited<C>>), (Without<Propagate<C>>, Without<PropagateStop<C>>, F)>,
    removed: RemovedComponents<'_, '_, Inherited<C>>,
    to_process: Local<'_, Vec<(Entity, Option<Inherited<C>>)>>,
)
Expand description

add/remove Inherited::<C> for targets of entities with modified Inherited::<C>