Files
OpenSpace/data/assets/examples/renderable/renderablecartesianaxes/cartesianaxes.asset
T
Alexander Bock 5008aa7cd7 Adding documentation and examples (#3541)
- Make the SourceType and DestinationType parameters required in the DashboardItemAngle
  - Shift the "UTC" string in the DashboardDate from the FormatString to the TimeFormat
  - Make the SourceType and DestinationType parameters for the DashboardItemDistance required
  - Add new "Deltatime" option to the DashboardItemFramerate.  Add examples for the DashboardItemFramerate
  - Fix issue where the inputstate would not update if no option was selected
  - Automatically disable simplification if a unit is requested in the asset for a DashboardItemSimulationIncrement or DashboardItemVelocity
2025-03-14 11:25:26 +01:00

29 lines
625 B
Lua

-- Basic
-- This example creates a scene graph node that only displays coordinate axes. The parent
-- is not set which defaults to placing the axes at the center of the Sun.
local Node = {
Identifier = "RenderableCartesianAxes_Example",
Transform = {
Scale = {
Type = "StaticScale",
Scale = 30000000
}
},
Renderable = {
Type = "RenderableCartesianAxes"
},
GUI = {
Name = "RenderableCartesianAxes - Basic",
Path = "/Examples"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Node)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Node)
end)