pub fn accumulate_mouse_scroll(
mouse_scroll: ResMut<'_, AccumulatedMouseScroll>,
events: EventReader<'_, '_, MouseWheel>,
)
Expand description
Sums the MouseWheel
events received since during this frame.
pub fn accumulate_mouse_scroll(
mouse_scroll: ResMut<'_, AccumulatedMouseScroll>,
events: EventReader<'_, '_, MouseWheel>,
)
Sums the MouseWheel
events received since during this frame.