Files
OpenSpace/data/assets/examples/screenspacebrowser.asset
T
Emma Broman 4d5ce33903 Add UI descriptions and asset metas to a bunch of assets (#2845)
* Add asset meta and GUI description to AltAz grid and move to Night sky in menu

To avoid confusion with other grids, that have a global position rather than a local one

* Add asset metas and GUI descriptions to Night Sky assets

* Add metas and update name of some example assets

* Night sky asset meta

* Add descriptions and asset metas to scale objects

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2023-08-18 16:33:59 +02:00

29 lines
674 B
Lua

local Browser = {
Type = "ScreenSpaceBrowser",
Identifier = "ScreenSpaceBrowserExample",
Name = "Screen Space Browser Example",
Url = "https://www.openspaceproject.com/"
}
asset.onInitialize(function()
openspace.addScreenSpaceRenderable(Browser)
end)
asset.onDeinitialize(function()
openspace.removeScreenSpaceRenderable(Browser)
end)
asset.export(Browser)
asset.meta = {
Name = "ScreenSpaceBrowser Example",
Version = "1.0",
Description = [[Example of how to load and show a webpage in the rendering. The loaded
webpage is shown in screen space.]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}