Skip to main content

with_global_mut

Function with_global_mut 

Source
pub fn with_global_mut<F: FnOnce(&mut SceneTree)>(f: F)
Expand description

Apply a mutation to the active tree, if installed. No-op when no session has published one. Used by the runner’s lifecycle emit sites so the tree mirrors the observer’s view.