Skip to main content

apply_scene_script_commands

Function apply_scene_script_commands 

Source
pub fn apply_scene_script_commands(
    events: MessageReader<'_, '_, ScriptCommandEvent>,
    ids: Query<'_, '_, (Entity, &LumenId)>,
    texts: Query<'_, '_, &mut TextContent>,
    inputs: Query<'_, '_, &mut TextInput>,
    store: ResMut<'_, PropertyStore>,
    array_signals: ResMut<'_, ArraySignals>,
    locale: LocaleSwitch<'_>,
)
Expand description

Apply the commands whose whole effect is on the scene.

Commands this does not answer for are left for the applier that holds what they need; each command has exactly one applier.

The locale switch is here rather than beside the desktop’s own applier because every host has one: a page and a server render read their text out of the same catalogue the desktop does.