pub fn with_global<R, F: FnOnce(&SceneTree) -> R>(f: F) -> Option<R>Expand description
Read-only access to the active scene tree, if installed.
Returns None when no session has published one. Mirrors
with_global_mut for callers that just need to inspect
(e.g. SRD-77 execution-end disposition computation).