MultiScale
Inherits Scale
This Scale type combines multiple individual scale operations that are applied one after the other.
Members
Name |
Documentation |
Type |
Description |
Optional |
---|---|---|---|---|
|
The list of scales that are applied one after the other |
|
No |
Inherited members from Scale
Name |
Documentation |
Type |
Description |
Optional |
---|---|---|---|---|
|
The type of the scaling that is described in this element. The available types of scaling depend on the configuration of the application and can be written to disk on application startup into the FactoryDocumentation |
|
Must name a valid Scale type |
No |
|
The time frame in which this |
|
Yes |
Table parameters for Scales
The list of scales that are applied one after the other
Optional: No
Name |
Documentation |
Type |
Description |
Optional |
---|---|---|---|---|
|
|
Yes |
Asset Examples
Basic
This asset creates a scene graph node that only displays coordinate axes, with a set of multiple scales that are applied one after the other.
1local Node = {
2 Identifier = "MultiScale_Example",
3 Transform = {
4 Scale = {
5 Type = "MultiScale",
6 Scales = {
7 {
8 Type = "StaticScale",
9 Scale = 2.0
10 },
11 {
12 Type = "StaticScale",
13 Scale = 1.25
14 }
15 }
16 }
17 },
18 Renderable = {
19 Type = "RenderableCartesianAxes"
20 },
21 GUI = {
22 Name = "MultiScale - Basic",
23 Path = "/Examples"
24 }
25}
26
27asset.onInitialize(function()
28 openspace.addSceneGraphNode(Node)
29end)
30
31asset.onDeinitialize(function()
32 openspace.removeSceneGraphNode(Node)
33end)