mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with current master branch (8e951fd)
This commit is contained in:
@@ -496,7 +496,7 @@ enum **ProcessThreadGroup**:
|
||||
|
||||
:ref:`ProcessThreadGroup<enum_Node_ProcessThreadGroup>` **PROCESS_THREAD_GROUP_INHERIT** = ``0``
|
||||
|
||||
If the :ref:`process_thread_group<class_Node_property_process_thread_group>` property is sent to this, the node will belong to any parent (or grandparent) node that has a thread group mode that is not inherit. See :ref:`process_thread_group<class_Node_property_process_thread_group>` for more information.
|
||||
Process this node based on the thread group mode of the first parent (or grandparent) node that has a thread group mode that is not inherit. See :ref:`process_thread_group<class_Node_property_process_thread_group>` for more information.
|
||||
|
||||
.. _class_Node_constant_PROCESS_THREAD_GROUP_MAIN_THREAD:
|
||||
|
||||
@@ -504,7 +504,7 @@ If the :ref:`process_thread_group<class_Node_property_process_thread_group>` pro
|
||||
|
||||
:ref:`ProcessThreadGroup<enum_Node_ProcessThreadGroup>` **PROCESS_THREAD_GROUP_MAIN_THREAD** = ``1``
|
||||
|
||||
Process this node (and children nodes set to inherit) on the main thread. See :ref:`process_thread_group<class_Node_property_process_thread_group>` for more information.
|
||||
Process this node (and child nodes set to inherit) on the main thread. See :ref:`process_thread_group<class_Node_property_process_thread_group>` for more information.
|
||||
|
||||
.. _class_Node_constant_PROCESS_THREAD_GROUP_SUB_THREAD:
|
||||
|
||||
@@ -512,7 +512,7 @@ Process this node (and children nodes set to inherit) on the main thread. See :r
|
||||
|
||||
:ref:`ProcessThreadGroup<enum_Node_ProcessThreadGroup>` **PROCESS_THREAD_GROUP_SUB_THREAD** = ``2``
|
||||
|
||||
Process this node (and children nodes set to inherit) on a sub-thread. See :ref:`process_thread_group<class_Node_property_process_thread_group>` for more information.
|
||||
Process this node (and child nodes set to inherit) on a sub-thread. See :ref:`process_thread_group<class_Node_property_process_thread_group>` for more information.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
@@ -614,7 +614,7 @@ The node will not be internal.
|
||||
|
||||
:ref:`InternalMode<enum_Node_InternalMode>` **INTERNAL_MODE_FRONT** = ``1``
|
||||
|
||||
The node will be placed at the beginning of the parent's children list, before any non-internal sibling.
|
||||
The node will be placed at the beginning of the parent's children, before any non-internal sibling.
|
||||
|
||||
.. _class_Node_constant_INTERNAL_MODE_BACK:
|
||||
|
||||
@@ -622,7 +622,7 @@ The node will be placed at the beginning of the parent's children list, before a
|
||||
|
||||
:ref:`InternalMode<enum_Node_InternalMode>` **INTERNAL_MODE_BACK** = ``2``
|
||||
|
||||
The node will be placed at the end of the parent's children list, after any non-internal sibling.
|
||||
The node will be placed at the end of the parent's children, after any non-internal sibling.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
@@ -1222,7 +1222,7 @@ By default, the thread group is :ref:`PROCESS_THREAD_GROUP_INHERIT<class_Node_co
|
||||
|
||||
During processing in a sub-thread, accessing most functions in nodes outside the thread group is forbidden (and it will result in an error in debug mode). Use :ref:`Object.call_deferred<class_Object_method_call_deferred>`, :ref:`call_thread_safe<class_Node_method_call_thread_safe>`, :ref:`call_deferred_thread_group<class_Node_method_call_deferred_thread_group>` and the likes in order to communicate from the thread groups to the main thread (or to other thread groups).
|
||||
|
||||
To better understand process thread groups, the idea is that any node set to any other value than :ref:`PROCESS_THREAD_GROUP_INHERIT<class_Node_constant_PROCESS_THREAD_GROUP_INHERIT>` will include any children (and grandchildren) nodes set to inherit into its process thread group. this means that the processing of all the nodes in the group will happen together, at the same time as the node including them.
|
||||
To better understand process thread groups, the idea is that any node set to any other value than :ref:`PROCESS_THREAD_GROUP_INHERIT<class_Node_constant_PROCESS_THREAD_GROUP_INHERIT>` will include any child (and grandchild) nodes set to inherit into its process thread group. This means that the processing of all the nodes in the group will happen together, at the same time as the node including them.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
|
||||
Reference in New Issue
Block a user