mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with current source
This commit is contained in:
@@ -86,6 +86,8 @@ Property Descriptions
|
||||
|
||||
If ``true``, it is running inside the editor. Useful for tool scripts.
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_property_iterations_per_second:
|
||||
|
||||
- :ref:`int<class_int>` **iterations_per_second**
|
||||
@@ -100,6 +102,8 @@ If ``true``, it is running inside the editor. Useful for tool scripts.
|
||||
|
||||
The number of fixed iterations per second (for fixed process and physics).
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_property_physics_jitter_fix:
|
||||
|
||||
- :ref:`float<class_float>` **physics_jitter_fix**
|
||||
@@ -112,6 +116,8 @@ The number of fixed iterations per second (for fixed process and physics).
|
||||
| *Getter* | get_physics_jitter_fix() |
|
||||
+-----------+-------------------------------+
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_property_target_fps:
|
||||
|
||||
- :ref:`int<class_int>` **target_fps**
|
||||
@@ -126,6 +132,8 @@ The number of fixed iterations per second (for fixed process and physics).
|
||||
|
||||
The desired frames per second. If the hardware cannot keep up, this setting may not be respected. A value of 0 means no limit.
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_property_time_scale:
|
||||
|
||||
- :ref:`float<class_float>` **time_scale**
|
||||
@@ -157,6 +165,8 @@ Returns engine author information in a Dictionary.
|
||||
|
||||
``developers`` - Array of Strings, developer names
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_copyright_info:
|
||||
|
||||
- :ref:`Array<class_Array>` **get_copyright_info** **(** **)** const
|
||||
@@ -167,6 +177,8 @@ Returns an Array of copyright information Dictionaries.
|
||||
|
||||
``parts`` - Array of Dictionaries {``files``, ``copyright``, ``license``} describing subsections of the component
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_donor_info:
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **get_donor_info** **(** **)** const
|
||||
@@ -175,46 +187,62 @@ Returns a Dictionary of Arrays of donor names.
|
||||
|
||||
{``platinum_sponsors``, ``gold_sponsors``, ``mini_sponsors``, ``gold_donors``, ``silver_donors``, ``bronze_donors``}
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_frames_drawn:
|
||||
|
||||
- :ref:`int<class_int>` **get_frames_drawn** **(** **)**
|
||||
|
||||
Returns the total number of frames drawn.
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_frames_per_second:
|
||||
|
||||
- :ref:`float<class_float>` **get_frames_per_second** **(** **)** const
|
||||
|
||||
Returns the frames per second of the running game.
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_license_info:
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **get_license_info** **(** **)** const
|
||||
|
||||
Returns Dictionary of licenses used by Godot and included third party components.
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_license_text:
|
||||
|
||||
- :ref:`String<class_String>` **get_license_text** **(** **)** const
|
||||
|
||||
Returns Godot license text.
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_main_loop:
|
||||
|
||||
- :ref:`MainLoop<class_MainLoop>` **get_main_loop** **(** **)** const
|
||||
|
||||
Returns the main loop object (see :ref:`MainLoop<class_MainLoop>` and :ref:`SceneTree<class_SceneTree>`).
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_physics_interpolation_fraction:
|
||||
|
||||
- :ref:`float<class_float>` **get_physics_interpolation_fraction** **(** **)** const
|
||||
|
||||
Returns the fraction through the current physics tick we are at the time of rendering the frame. This can be used to implement fixed timestep interpolation.
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_singleton:
|
||||
|
||||
- :ref:`Object<class_Object>` **get_singleton** **(** :ref:`String<class_String>` name **)** const
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_get_version_info:
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **get_version_info** **(** **)** const
|
||||
@@ -248,10 +276,14 @@ The ``hex`` value is encoded as follows, from left to right: one byte for the ma
|
||||
else:
|
||||
# Do things specific to versions before 3.2
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_has_singleton:
|
||||
|
||||
- :ref:`bool<class_bool>` **has_singleton** **(** :ref:`String<class_String>` name **)** const
|
||||
|
||||
----
|
||||
|
||||
.. _class_Engine_method_is_in_physics_frame:
|
||||
|
||||
- :ref:`bool<class_bool>` **is_in_physics_frame** **(** **)** const
|
||||
|
||||
Reference in New Issue
Block a user