classref: Sync with current master branch (2e7fc81)

This commit is contained in:
Godot Organization
2024-02-24 03:20:02 +00:00
parent 4f21f44632
commit 8978497bb6
938 changed files with 42729 additions and 36889 deletions
+14 -13
View File
@@ -63,15 +63,15 @@ Methods
.. table::
:widths: auto
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
| void | :ref:`_run<class_EditorScript_private_method__run>` **(** **)** |virtual| |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
| void | :ref:`add_root_node<class_EditorScript_method_add_root_node>` **(** :ref:`Node<class_Node>` node **)** |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
| :ref:`EditorInterface<class_EditorInterface>` | :ref:`get_editor_interface<class_EditorScript_method_get_editor_interface>` **(** **)** |const| |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
| :ref:`Node<class_Node>` | :ref:`get_scene<class_EditorScript_method_get_scene>` **(** **)** |const| |
+-----------------------------------------------+--------------------------------------------------------------------------------------------------------+
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
| |void| | :ref:`_run<class_EditorScript_private_method__run>`\ (\ ) |virtual| |
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
| |void| | :ref:`add_root_node<class_EditorScript_method_add_root_node>`\ (\ node\: :ref:`Node<class_Node>`\ ) |
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
| :ref:`EditorInterface<class_EditorInterface>` | :ref:`get_editor_interface<class_EditorScript_method_get_editor_interface>`\ (\ ) |const| |
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
| :ref:`Node<class_Node>` | :ref:`get_scene<class_EditorScript_method_get_scene>`\ (\ ) |const| |
+-----------------------------------------------+-----------------------------------------------------------------------------------------------------+
.. rst-class:: classref-section-separator
@@ -86,7 +86,7 @@ Method Descriptions
.. rst-class:: classref-method
void **_run** **(** **)** |virtual|
|void| **_run**\ (\ ) |virtual|
This method is executed by the Editor when **File > Run** is used.
@@ -98,7 +98,7 @@ This method is executed by the Editor when **File > Run** is used.
.. rst-class:: classref-method
void **add_root_node** **(** :ref:`Node<class_Node>` node **)**
|void| **add_root_node**\ (\ node\: :ref:`Node<class_Node>`\ )
Adds ``node`` as a child of the root node in the editor context.
@@ -112,7 +112,7 @@ Adds ``node`` as a child of the root node in the editor context.
.. rst-class:: classref-method
:ref:`EditorInterface<class_EditorInterface>` **get_editor_interface** **(** **)** |const|
:ref:`EditorInterface<class_EditorInterface>` **get_editor_interface**\ (\ ) |const|
**Deprecated:** :ref:`EditorInterface<class_EditorInterface>` is a global singleton and can be accessed directly by its name.
@@ -126,7 +126,7 @@ Returns the :ref:`EditorInterface<class_EditorInterface>` singleton instance.
.. rst-class:: classref-method
:ref:`Node<class_Node>` **get_scene** **(** **)** |const|
:ref:`Node<class_Node>` **get_scene**\ (\ ) |const|
Returns the Editor's currently active scene.
@@ -137,3 +137,4 @@ Returns the Editor's currently active scene.
.. |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.)`
.. |void| replace:: :abbr:`void (No return value.)`