Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
GodotInstance๏
Inherits: Object
Provides access to an embedded Godot instance.
Description๏
GodotInstance represents a running Godot instance that is controlled from an outside codebase, without a perpetual main loop. It is created by the C API libgodot_create_godot_instance. Only one may be created per process.
Methods๏
void |
focus_in() |
void |
|
void |
pause() |
void |
resume() |
start() |
Method Descriptions๏
void focus_in() ๐
Notifies the instance that it is now in focus.
void focus_out() ๐
Notifies the instance that it is now not in focus.
Returns true if this instance has been fully started.
Runs a single iteration of the main loop. Returns true if the engine is attempting to quit.
void pause() ๐
Notifies the instance that it is going to be paused.
void resume() ๐
Notifies the instance that it is being resumed.
Finishes this instance's startup sequence. Returns true on success.