Skip to main content

push_slider_to_signal

Function push_slider_to_signal 

Source
pub fn push_slider_to_signal(
    store: ResMut<'_, PropertyStore>,
    q: Query<'_, '_, (&BindValue, Ref<'_, SliderValue>), Changed<SliderValue>>,
)
Expand description

Pushes SliderValue::value back into the matching PropertyStore entry for every BindValue entity with Changed<SliderValue>. Writes the stringified value so the existing <if> / interpolation paths keep working.