mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-09 13:14:53 -06:00
26 lines
559 B
Plaintext
26 lines
559 B
Plaintext
-- This asset requires OpenSpace to be built with the OPENSPACE_MODULE_SPOUT enabled
|
|
|
|
local assetHelper = asset.require("util/asset_helper")
|
|
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"
|
|
}
|
|
}
|
|
|
|
|
|
|
|
local objects = { Spout }
|
|
assetHelper.registerSceneGraphNodesAndExport(asset, objects)
|