.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/Engine.xml. .. _class_Engine: Engine ====== **Inherits:** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------+---------------------------------------------------------------------------------------+----------+ | :ref:`int` | :ref:`max_fps` | ``0`` | +---------------------------+---------------------------------------------------------------------------------------+----------+ | :ref:`int` | :ref:`max_physics_steps_per_frame` | ``8`` | +---------------------------+---------------------------------------------------------------------------------------+----------+ | :ref:`float` | :ref:`physics_jitter_fix` | ``0.5`` | +---------------------------+---------------------------------------------------------------------------------------+----------+ | :ref:`int` | :ref:`physics_ticks_per_second` | ``60`` | +---------------------------+---------------------------------------------------------------------------------------+----------+ | :ref:`bool` | :ref:`print_error_messages` | ``true`` | +---------------------------+---------------------------------------------------------------------------------------+----------+ | :ref:`float` | :ref:`time_scale` | ``1.0`` | +---------------------------+---------------------------------------------------------------------------------------+----------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_architecture_name` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`get_author_info` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary[]` | :ref:`get_copyright_info` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`get_donor_info` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_frames_drawn` **(** **)** | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_frames_per_second` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`get_license_info` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_license_text` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`MainLoop` | :ref:`get_main_loop` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_physics_frames` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_physics_interpolation_fraction` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_process_frames` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`ScriptLanguage` | :ref:`get_script_language` **(** :ref:`int` index **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_script_language_count` **(** **)** | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_singleton` **(** :ref:`StringName` name **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedStringArray` | :ref:`get_singleton_list` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`get_version_info` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_write_movie_path` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_singleton` **(** :ref:`StringName` name **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_editor_hint` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_in_physics_frame` **(** **)** |const| | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`register_script_language` **(** :ref:`ScriptLanguage` language **)** | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`register_singleton` **(** :ref:`StringName` name, :ref:`Object` instance **)** | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`unregister_script_language` **(** :ref:`ScriptLanguage` language **)** | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`unregister_singleton` **(** :ref:`StringName` name **)** | +---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_Engine_property_max_fps: .. rst-class:: classref-property :ref:`int` **max_fps** = ``0`` .. rst-class:: classref-property-setget - void **set_max_fps** **(** :ref:`int` value **)** - :ref:`int` **get_max_fps** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_property_max_physics_steps_per_frame: .. rst-class:: classref-property :ref:`int` **max_physics_steps_per_frame** = ``8`` .. rst-class:: classref-property-setget - void **set_max_physics_steps_per_frame** **(** :ref:`int` value **)** - :ref:`int` **get_max_physics_steps_per_frame** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_property_physics_jitter_fix: .. rst-class:: classref-property :ref:`float` **physics_jitter_fix** = ``0.5`` .. rst-class:: classref-property-setget - void **set_physics_jitter_fix** **(** :ref:`float` value **)** - :ref:`float` **get_physics_jitter_fix** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_property_physics_ticks_per_second: .. rst-class:: classref-property :ref:`int` **physics_ticks_per_second** = ``60`` .. rst-class:: classref-property-setget - void **set_physics_ticks_per_second** **(** :ref:`int` value **)** - :ref:`int` **get_physics_ticks_per_second** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_property_print_error_messages: .. rst-class:: classref-property :ref:`bool` **print_error_messages** = ``true`` .. rst-class:: classref-property-setget - void **set_print_error_messages** **(** :ref:`bool` value **)** - :ref:`bool` **is_printing_error_messages** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_property_time_scale: .. rst-class:: classref-property :ref:`float` **time_scale** = ``1.0`` .. rst-class:: classref-property-setget - void **set_time_scale** **(** :ref:`float` value **)** - :ref:`float` **get_time_scale** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_Engine_method_get_architecture_name: .. rst-class:: classref-method :ref:`String` **get_architecture_name** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_author_info: .. rst-class:: classref-method :ref:`Dictionary` **get_author_info** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_copyright_info: .. rst-class:: classref-method :ref:`Dictionary[]` **get_copyright_info** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_donor_info: .. rst-class:: classref-method :ref:`Dictionary` **get_donor_info** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_frames_drawn: .. rst-class:: classref-method :ref:`int` **get_frames_drawn** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_frames_per_second: .. rst-class:: classref-method :ref:`float` **get_frames_per_second** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_license_info: .. rst-class:: classref-method :ref:`Dictionary` **get_license_info** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_license_text: .. rst-class:: classref-method :ref:`String` **get_license_text** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_main_loop: .. rst-class:: classref-method :ref:`MainLoop` **get_main_loop** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_physics_frames: .. rst-class:: classref-method :ref:`int` **get_physics_frames** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_physics_interpolation_fraction: .. rst-class:: classref-method :ref:`float` **get_physics_interpolation_fraction** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_process_frames: .. rst-class:: classref-method :ref:`int` **get_process_frames** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_script_language: .. rst-class:: classref-method :ref:`ScriptLanguage` **get_script_language** **(** :ref:`int` index **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_script_language_count: .. rst-class:: classref-method :ref:`int` **get_script_language_count** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_singleton: .. rst-class:: classref-method :ref:`Object` **get_singleton** **(** :ref:`StringName` name **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_singleton_list: .. rst-class:: classref-method :ref:`PackedStringArray` **get_singleton_list** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_version_info: .. rst-class:: classref-method :ref:`Dictionary` **get_version_info** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_get_write_movie_path: .. rst-class:: classref-method :ref:`String` **get_write_movie_path** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_has_singleton: .. rst-class:: classref-method :ref:`bool` **has_singleton** **(** :ref:`StringName` name **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_is_editor_hint: .. rst-class:: classref-method :ref:`bool` **is_editor_hint** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_is_in_physics_frame: .. rst-class:: classref-method :ref:`bool` **is_in_physics_frame** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_register_script_language: .. rst-class:: classref-method :ref:`Error` **register_script_language** **(** :ref:`ScriptLanguage` language **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_register_singleton: .. rst-class:: classref-method void **register_singleton** **(** :ref:`StringName` name, :ref:`Object` instance **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_unregister_script_language: .. rst-class:: classref-method :ref:`Error` **unregister_script_language** **(** :ref:`ScriptLanguage` language **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Engine_method_unregister_singleton: .. rst-class:: classref-method void **unregister_singleton** **(** :ref:`StringName` name **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`