Add the ability to change the screenshot folder at runtime (#1172)

This commit is contained in:
Alexander Bock
2020-11-16 14:22:56 +01:00
parent 73d920d40d
commit 8d7300a242
4 changed files with 34 additions and 0 deletions

View File

@@ -1522,6 +1522,13 @@ scripting::LuaLibrary OpenSpaceEngine::luaLibrary() {
"",
"Remove all registered virtual properties"
},
{
"setScreenshotFolder",
&luascriptfunctions::setScreenshotFolder,
{},
"string",
"Sets the folder used for storing screenshots or session recording frames"
},
{
"addTag",
&luascriptfunctions::addTag,