Skip to main content

serve_scene_controls

Function serve_scene_controls 

Source
pub(crate) fn serve_scene_controls(app: Entity) -> OnFrame
Expand description

Serve the scene selector, the fullscreen button and the UI’s URL requests.

A scene switch drops the scene’s world, so nothing may still be borrowed from it when the switch is served: the control state is read in one block and acted on after.