2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								<?xml version="1.0" encoding="UTF-8" ?>  
						 
					
						
							
								
									
										
										
										
											2023-07-06 10:08:05 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<class  name= "MainLoop"  inherits= "Object"  xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"  xsi:noNamespaceSchemaLocation= "../class.xsd" >  
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
									<brief_description > 
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										Abstract base class for the game's main loop.
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
									</brief_description> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<description > 
							 
						 
					
						
							
								
									
										
										
										
											2019-08-19 19:40:31 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										[MainLoop] is the abstract base class for a Godot project's game loop. It is inherited by [SceneTree], which is the default game loop implementation used in Godot projects, though it is also possible to write and use one's own [MainLoop] subclass instead of the scene tree.
							 
						 
					
						
							
								
									
										
										
										
											2024-01-15 15:23:17 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										Upon the application start, a [MainLoop] implementation must be provided to the OS; otherwise, the application will exit. This happens automatically (and a [SceneTree] is created) unless a [MainLoop] [Script] is provided from the command line (with e.g. [code]godot -s my_loop.gd[/code]) or the "Main Loop Type" project setting is overwritten.
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										Here is an example script implementing a simple [MainLoop]:
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										[codeblocks]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										[gdscript]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										class_name CustomMainLoop
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										extends MainLoop
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										var time_elapsed = 0
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										func _initialize():
							 
						 
					
						
							
								
									
										
										
										
											2019-10-01 10:55:49 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    print("Initialized:")
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										    print("  Starting time: %s" % str(time_elapsed))
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-01-04 14:33:44 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										func _process(delta):
							 
						 
					
						
							
								
									
										
										
										
											2019-10-01 10:55:49 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    time_elapsed += delta
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										    # Return true to end the main loop.
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    return Input.get_mouse_button_mask() != 0 || Input.is_key_pressed(KEY_ESCAPE)
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										func _finalize():
							 
						 
					
						
							
								
									
										
										
										
											2019-10-01 10:55:49 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    print("Finalized:")
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										    print("  End time: %s" % str(time_elapsed))
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										[/gdscript]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										[csharp]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										using Godot;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-02-22 00:40:26 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										[GlobalClass]
							 
						 
					
						
							
								
									
										
										
										
											2023-01-31 18:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										public partial class CustomMainLoop : MainLoop
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										{
							 
						 
					
						
							
								
									
										
										
										
											2023-01-31 18:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    private double _timeElapsed = 0;
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										    public override void _Initialize()
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										    {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										        GD.Print("Initialized:");
							 
						 
					
						
							
								
									
										
										
										
											2023-01-31 18:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										        GD.Print($"  Starting Time: {_timeElapsed}");
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-01-31 18:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    public override bool _Process(double delta)
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    {
							 
						 
					
						
							
								
									
										
										
										
											2023-01-31 18:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										        _timeElapsed += delta;
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										        // Return true to end the main loop.
							 
						 
					
						
							
								
									
										
										
										
											2023-01-31 18:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										        return Input.GetMouseButtonMask() != 0 || Input.IsKeyPressed(Key.Escape);
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										    private void _Finalize()
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										    {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										        GD.Print("Finalized:");
							 
						 
					
						
							
								
									
										
										
										
											2023-01-31 18:21:09 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										        GD.Print($"  End Time: {_timeElapsed}");
							 
						 
					
						
							
								
									
										
										
										
											2020-10-31 18:15:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										    }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										[/csharp]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										[/codeblocks]
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
									</description> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<tutorials > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</tutorials> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<methods > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<method  name= "_finalize"  qualifiers= "virtual" > 
							 
						 
					
						
							
								
									
										
										
										
											2021-07-30 15:28:05 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<return  type= "void"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
											<description > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												Called before the program exits.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											</description> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</method> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<method  name= "_initialize"  qualifiers= "virtual" > 
							 
						 
					
						
							
								
									
										
										
										
											2021-07-30 15:28:05 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<return  type= "void"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
											<description > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												Called once during initialization.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											</description> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</method> 
							 
						 
					
						
							
								
									
										
										
										
											2021-01-04 14:33:44 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<method  name= "_physics_process"  qualifiers= "virtual" > 
							 
						 
					
						
							
								
									
										
										
										
											2021-07-30 15:28:05 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<return  type= "bool"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2022-08-06 21:11:48 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<param  index= "0"  name= "delta"  type= "float"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
											<description > 
							 
						 
					
						
							
								
									
										
										
										
											2022-08-12 09:36:48 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
												Called each physics frame with the time since the last physics frame as argument ([param delta], in seconds). Equivalent to [method Node._physics_process].
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
												If implemented, the method must return a boolean value. [code]true[/code] ends the main loop, while [code]false[/code] lets it proceed to the next frame.
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
											</description> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</method> 
							 
						 
					
						
							
								
									
										
										
										
											2021-01-04 14:33:44 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<method  name= "_process"  qualifiers= "virtual" > 
							 
						 
					
						
							
								
									
										
										
										
											2021-07-30 15:28:05 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<return  type= "bool"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2022-08-06 21:11:48 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<param  index= "0"  name= "delta"  type= "float"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2021-01-04 14:33:44 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<description > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												Called each process (idle) frame with the time since the last process frame as argument (in seconds). Equivalent to [method Node._process].
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												If implemented, the method must return a boolean value. [code]true[/code] ends the main loop, while [code]false[/code] lets it proceed to the next frame.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											</description> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</method> 
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
									</methods> 
							 
						 
					
						
							
								
									
										
										
										
											2019-10-06 21:17:44 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<signals > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<signal  name= "on_request_permissions_result" > 
							 
						 
					
						
							
								
									
										
										
										
											2022-08-06 21:11:48 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<param  index= "0"  name= "permission"  type= "String"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											<param  index= "1"  name= "granted"  type= "bool"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2019-10-06 21:17:44 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<description > 
							 
						 
					
						
							
								
									
										
										
										
											2020-01-10 10:46:41 -08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
												Emitted when a user responds to a permission request.
							 
						 
					
						
							
								
									
										
										
										
											2019-10-06 21:17:44 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											</description> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</signal> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</signals> 
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
									<constants > 
							 
						 
					
						
							
								
									
										
										
										
											2020-03-31 11:56:58 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_OS_MEMORY_WARNING"  value= "2009" > 
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											Notification received from the OS when the application is exceeding its allocated memory.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											Specific to the iOS platform.
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
									
										
										
										
											2020-03-31 11:56:58 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_TRANSLATION_CHANGED"  value= "2010" > 
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											Notification received when translations may have changed. Can be triggered by the user changing the locale. Can be used to respond to language changes, for example to change the UI strings on the fly. Useful when working with the built-in translation support, like [method Object.tr].
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
									
										
										
										
											2020-03-31 11:56:58 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_WM_ABOUT"  value= "2011" > 
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											Notification received from the OS when a request for "About" information is sent.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											Specific to the macOS platform.
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
									
										
										
										
											2020-03-31 11:56:58 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_CRASH"  value= "2012" > 
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											Notification received from Godot's crash handler when the engine is about to crash.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											Implemented on desktop platforms if the crash handler is enabled.
							 
						 
					
						
							
								
									
										
										
										
											2018-07-26 11:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
									
										
										
										
											2020-03-31 11:56:58 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_OS_IME_UPDATE"  value= "2013" > 
							 
						 
					
						
							
								
									
										
										
										
											2019-06-26 15:57:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											Notification received from the OS when an update of the Input Method Engine occurs (e.g. change of IME cursor position or composition string).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											Specific to the macOS platform.
							 
						 
					
						
							
								
									
										
										
										
											2018-11-23 14:07:48 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
									
										
										
										
											2020-07-01 14:18:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_APPLICATION_RESUMED"  value= "2014" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											Notification received from the OS when the application is resumed.
							 
						 
					
						
							
								
									
										
										
										
											2023-11-17 08:23:06 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											Specific to the Android and iOS platforms.
							 
						 
					
						
							
								
									
										
										
										
											2019-09-09 14:42:17 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
									
										
										
										
											2020-07-01 14:18:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_APPLICATION_PAUSED"  value= "2015" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											Notification received from the OS when the application is paused.
							 
						 
					
						
							
								
									
										
										
										
											2023-11-17 08:23:06 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											Specific to the Android and iOS platforms.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											[b]Note:[/b] On iOS, you only have approximately 5 seconds to finish a task started by this signal. If you go over this allotment, iOS will kill the app instead of pausing it.
							 
						 
					
						
							
								
									
										
										
										
											2019-09-09 14:42:17 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
									
										
										
										
											2020-07-01 14:18:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_APPLICATION_FOCUS_IN"  value= "2016" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											Notification received from the OS when the application is focused, i.e. when changing the focus from the OS desktop or a thirdparty application to any open window of the Godot instance.
							 
						 
					
						
							
								
									
										
										
										
											2023-11-17 08:23:06 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											Implemented on desktop and mobile platforms.
							 
						 
					
						
							
								
									
										
										
										
											2020-07-01 14:18:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_APPLICATION_FOCUS_OUT"  value= "2017" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											Notification received from the OS when the application is defocused, i.e. when changing the focus from any open window of the Godot instance to the OS desktop or a thirdparty application.
							 
						 
					
						
							
								
									
										
										
										
											2023-11-17 08:23:06 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											Implemented on desktop and mobile platforms.
							 
						 
					
						
							
								
									
										
										
										
											2020-07-01 14:18:13 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
									
										
										
										
											2020-08-12 14:49:10 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<constant  name= "NOTIFICATION_TEXT_SERVER_CHANGED"  value= "2018" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											Notification received when text server is changed.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</constant> 
							 
						 
					
						
							
								
									
										
										
										
											2017-09-12 17:42:36 -03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
									</constants> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								</class>