mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-22 20:38:56 -05:00
4d5ce33903
* 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>
29 lines
674 B
Lua
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"
|
|
}
|