-- This asset requires OpenSpace to be built with the OPENSPACE_MODULE_SPOUT enabled

local transforms = asset.require("scene/solarsystem/sun/transforms")



local Spout = {
  Identifier = "Spouty",
  Parent = transforms.SolarSystemBarycenter.Identifier,
  Renderable = {
    Type = "RenderablePlaneSpout",
    Size = 3.0E11,
    Origin = "Center",
    Billboard = true
  },
  GUI = {
    Path = "/Examples"
  }
}



asset.onInitialize(function()
  openspace.addSceneGraphNode(Spout)
end)
  
asset.onDeinitialize(function()
  openspace.removeSceneGraphNode(Spout)
end)
  
asset.export(Spout)
