Remove the user data from the Lua function definition

This commit is contained in:
Alexander Bock
2021-11-04 16:27:54 +01:00
parent e3e468d5ef
commit 55ee3d2785
31 changed files with 33 additions and 239 deletions
-3
View File
@@ -152,21 +152,18 @@ scripting::LuaLibrary Dashboard::luaLibrary() {
{
"addDashboardItem",
&luascriptfunctions::addDashboardItem,
{},
"table",
"Adds a new dashboard item to the main dashboard."
},
{
"removeDashboardItem",
&luascriptfunctions::removeDashboardItem,
{},
"string",
"Removes the dashboard item with the specified identifier."
},
{
"clearDashboardItems",
&luascriptfunctions::clearDashboardItems,
{},
"",
"Removes all dashboard items from the main dashboard."
}
+1 -4
View File
@@ -1060,7 +1060,6 @@ scripting::LuaLibrary RenderEngine::luaLibrary() {
{
"addScreenSpaceRenderable",
&luascriptfunctions::addScreenSpaceRenderable,
{},
"table",
"Will create a ScreenSpaceRenderable from a lua Table and add it in the "
"RenderEngine"
@@ -1068,7 +1067,6 @@ scripting::LuaLibrary RenderEngine::luaLibrary() {
{
"removeScreenSpaceRenderable",
&luascriptfunctions::removeScreenSpaceRenderable,
{},
"string",
"Given a ScreenSpaceRenderable name this script will remove it from the "
"renderengine"
@@ -1076,12 +1074,11 @@ scripting::LuaLibrary RenderEngine::luaLibrary() {
{
"takeScreenshot",
&luascriptfunctions::takeScreenshot,
{},
"",
"Take a screenshot and return the screenshot number. The screenshot will "
"be stored in the ${SCREENSHOTS} folder. "
}
},
}
};
}