Module ncinelua
Additional functions available in the Lua distribution of the nCine
Functions
reload_script () | Reloads the current script if it the source file was modified. For a fast reload to work correctly, every object should be set to nil after deletion. |
is_gui_hidden () | Returns true if the ImGui debug interface is currently not visible. |
show_gui (show) | Shows or hides the ImGui debug interface. |
Functions
- reload_script ()
-
Reloads the current script if it the source file was modified.
For a fast reload to work correctly, every object should be set tonil
after deletion.This function is only available when running a script with the
ncinelua
executable from a nCine Lua distribution or withapptest_lua
. - is_gui_hidden ()
-
Returns
true
if the ImGui debug interface is currently not visible.This function is only available when running a script with the
ncinelua
executable from a nCine Lua distribution or withapptest_lua
.Returns:
-
boolean
- show_gui (show)
-
Shows or hides the ImGui debug interface.
This function is only available when running a script with the
ncinelua
executable from a nCine Lua distribution or withapptest_lua
.Parameters:
- show boolean