openspace.documentation = { { Name = "mark_interating_nodes", Arguments = "List of nodes", Documentation = "This function marks the scene graph nodes identified by name " .. "as interesting, which will provide shortcut access to focus buttons and " .. "featured properties." }, { Name = "set_default_gui_sorting", Arguments = "", Documentation = "This function sets the default GUI sorting for the space " .. "environment to increasing size, from solar system, through Milky Way, " .. "Universe and finishing with other elements" } } openspace.mark_interesting_nodes = function(nodes) for _, n in pairs(nodes) do if openspace.hasSceneGraphNode(n) then openspace.addTag(n, "GUI.Interesting") end end end openspace.set_default_gui_sorting = function() openspace.setPropertyValueSingle( 'Global Properties.ImGUI.Main.Properties.Ordering', { "Solar System", "Milky Way", "Universe", "Other" } ) end