SpoutImageProvider

Inherits TileProvider

Asset Examples

 1local globe = asset.require("scene/solarsystem/planets/earth/earth")
 2
 3
 4
 5local Layer = {
 6  Identifier = "TextureSpout",
 7  Enabled = asset.enabled,
 8  SpoutName = "SPOUT_TERRA_RECEIVER",
 9  Type = "SpoutImageProvider"
10}
11
12
13asset.onInitialize(function()
14  openspace.globebrowsing.addLayer(globe.Earth.Identifier, "ColorLayers", Layer)
15end)
16
17asset.onDeinitialize(function()
18  openspace.globebrowsing.deleteLayer(globe.Earth.Identifier, "ColorLayers", Layer)
19end)
20
21asset.export("layer", Layer)