mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-15 16:31:06 -06:00
Add Lua functions to print cluster id (closes #704)
This commit is contained in:
@@ -1564,6 +1564,23 @@ scripting::LuaLibrary OpenSpaceEngine::luaLibrary() {
|
||||
{},
|
||||
"string, string",
|
||||
"Removes a tag (second argument) from a scene graph node (first argument)"
|
||||
},
|
||||
{
|
||||
"isMaster",
|
||||
&luascriptfunctions::isMaster,
|
||||
{},
|
||||
"",
|
||||
"Returns whether the current OpenSpace instance is the master node of a "
|
||||
"cluster configuration. If this instance is not part of a cluster, this "
|
||||
"function also returns 'true'."
|
||||
},
|
||||
{
|
||||
"clusterId",
|
||||
&luascriptfunctions::clusterId,
|
||||
{},
|
||||
"Returns the zero-based identifier for this OpenSpace instance in a "
|
||||
"cluster configuration. If this instance is not part of a cluster, this "
|
||||
"identifier is always 0."
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user