mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
30 lines
997 B
Lua
30 lines
997 B
Lua
-- This is a blank scene that that just sets up the default menus/dasboard/keys, etc.
|
|
|
|
-- Specifying which other assets should be loaded in this scene
|
|
asset.require("spice/core")
|
|
|
|
asset.require("dashboard/default_dashboard")
|
|
|
|
-- Load default actions and key bindings applicable to most scenes
|
|
asset.require("actions/default_actions")
|
|
asset.require("./default_keybindings")
|
|
|
|
-- Scale the different UI components based on the operating system's DPI scaling value
|
|
asset.require("util/dpiscaling")
|
|
|
|
-- Load the images required for the launcher to show up
|
|
asset.require("util/launcher_images")
|
|
|
|
-- Modules and component settings
|
|
asset.require("modules/touch/default_settings")
|
|
|
|
-- Load web gui
|
|
local webGui = asset.require("util/webgui")
|
|
|
|
|
|
asset.onInitialize(function()
|
|
openspace.setPropertyValueSingle("RenderEngine.VerticalLogOffset", 0.1)
|
|
openspace.setPropertyValueSingle("Dashboard.StartPositionOffset", { 15.0, 49.0 })
|
|
openspace.setPropertyValueSingle("RenderEngine.ShowCamera", false)
|
|
end)
|