RenderablePlaneSpout

Inherits Renderable

Members

Inherited members from Renderable

Name

Documentation

Type

Description

Optional

DimInAtmosphere

Decides if the object should be dimmed (i.e. faded out) when the camera is in the sunny part of an atmosphere.

Boolean

Value of type ‘Boolean’

Yes

Enabled

Determines whether this object will be visible or not.

Boolean

Value of type ‘Boolean’

Yes

Opacity

This value determines the opacity of this renderable. A value of 0 means completely transparent

Double

In range: ( 0,1 )

Yes

RenderBinMode

A value that specifies if the renderable should be rendered in the Background, Opaque, Pre-/PostDeferredTransparency, Overlay, or Sticker rendering step.

String

In list { Background, Opaque, PreDeferredTransparent, PostDeferredTransparent, Overlay }

Yes

Tag

A single tag or a list of tags that this renderable will respond to when setting properties

Table, or String

Value of type ‘Table’, or Value of type ‘String’

Yes

Type

The type of the renderable.

String

Value of type ‘String’

Yes

Asset Examples

 1local transforms = asset.require("scene/solarsystem/sun/transforms")
 2
 3
 4
 5local Spout = {
 6  Identifier = "Spouty",
 7  Parent = transforms.SolarSystemBarycenter.Identifier,
 8  Renderable = {
 9    Type = "RenderablePlaneSpout",
10    Size = 3.0E11,
11    Origin = "Center",
12    Billboard = true
13  },
14  GUI = {
15    Path = "/Examples"
16  }
17}
18
19
20asset.onInitialize(function()
21  openspace.addSceneGraphNode(Spout)
22end)
23
24asset.onDeinitialize(function()
25  openspace.removeSceneGraphNode(Spout)
26end)
27
28asset.export(Spout)