mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 20:09:58 -05:00
Merge branch 'master' of https://github.com/OpenSpace/OpenSpace
This commit is contained in:
+8
-7
@@ -175,20 +175,21 @@ scripting::LuaLibrary Time::luaLibrary() {
|
||||
&luascriptfunctions::time_togglePause,
|
||||
{},
|
||||
"",
|
||||
"Toggles the pause function, i.e. temporarily setting the delta time to 0"
|
||||
" and restoring it afterwards"
|
||||
"Toggles the pause function, i.e. temporarily setting the delta time to "
|
||||
"0 and restoring it afterwards"
|
||||
},
|
||||
{
|
||||
"interpolateTime",
|
||||
&luascriptfunctions::time_interpolateTime,
|
||||
{},
|
||||
"{number, string} [, number]",
|
||||
"Sets the current simulation time to the "
|
||||
"specified value. If the parameter is a number, the value is the number "
|
||||
"Sets the current simulation time to the specified value. "
|
||||
"If the first parameter is a number, the target is the number "
|
||||
"of seconds past the J2000 epoch. If it is a string, it has to be a "
|
||||
"valid ISO 8601-like date string of the format YYYY-MM-DDTHH:MN:SS. "
|
||||
"Note: providing time zone using the Z format is not supported. UTC is "
|
||||
"assumed."
|
||||
"valid ISO 8601-like date string of the format YYYY-MM-DDTHH:MN:SS "
|
||||
"(Note: providing time zone using the Z format is not supported. UTC is "
|
||||
"assumed). If a second input value is given, the interpolation is done "
|
||||
"over the specified number of seconds."
|
||||
},
|
||||
{
|
||||
"interpolateTimeRelative",
|
||||
|
||||
Reference in New Issue
Block a user