RenderablePlaneSpout
Inherits Renderable
Members
Inherited members from Renderable
Name |
Documentation |
Type |
Description |
Optional |
---|---|---|---|---|
|
Decides if the object should be dimmed (i.e. faded out) when the camera is in the sunny part of an atmosphere. |
|
Value of type ‘Boolean’ |
Yes |
|
Determines whether this object will be visible or not. |
|
Value of type ‘Boolean’ |
Yes |
|
This value determines the opacity of this renderable. A value of 0 means completely transparent |
|
In range: ( 0,1 ) |
Yes |
|
A value that specifies if the renderable should be rendered in the Background, Opaque, Pre-/PostDeferredTransparency, Overlay, or Sticker rendering step. |
|
In list { Background, Opaque, PreDeferredTransparent, PostDeferredTransparent, Overlay } |
Yes |
|
A single tag or a list of tags that this renderable will respond to when setting properties |
|
Value of type ‘Table’, or Value of type ‘String’ |
Yes |
|
The type of the renderable. |
|
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)