mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-29 23:39:26 -05:00
705c898ccd
* Updating all assets to new coding style * Cleaning up asset files * Moving default_actions and default_keybindings files * Changing procedural globes to explicitly specified globes * Move Spice loading explicitly to the initialize part and also deinitialize * Removing unused asset files * Removing asset_helper * Removing scale_model_helper asset * Removing script_scheduler_helper * Removing testing_keybindings * Remove procedural_globe
29 lines
582 B
Lua
29 lines
582 B
Lua
local Item = {
|
|
Type = "DashboardItemVelocity",
|
|
Identifier = "CameraVelocity",
|
|
Simplification = true,
|
|
GuiName = "Camera Velocity"
|
|
}
|
|
|
|
|
|
asset.onInitialize(function()
|
|
openspace.dashboard.addDashboardItem(Item)
|
|
end)
|
|
|
|
asset.onDeinitialize(function()
|
|
openspace.dashboard.removeDashboardItem(Item)
|
|
end)
|
|
|
|
asset.export(Item)
|
|
|
|
|
|
|
|
asset.meta = {
|
|
Name = "Dashboard - Velocity",
|
|
Version = "1.0",
|
|
Description = "This asset provides a dashboard item that shows the camera's velocity",
|
|
Author = "OpenSpace Team",
|
|
URL = "http://openspaceproject.com",
|
|
License = "MIT license"
|
|
}
|