diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-05 08:32:40 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-05 08:32:40 +0200 |
commit | ebbfc9695c6ff313df7ed2bd2e297b1ed4644a2c (patch) | |
tree | 4e137ea48eee2ba155dbe0cb7ab5970585095781 | |
parent | 7cbd33a04d80d86e20d534c1287f74dce31f8e4e (diff) | |
parent | 79fa23ae8faaa7cd9018d8ce3e4dbf4de2da37bb (diff) |
Merge pull request #66348 from dzil123/world3d_direct_space_state_doc
World3D.direct_space_state add multithreaded warning
-rw-r--r-- | doc/classes/World2D.xml | 2 | ||||
-rw-r--r-- | doc/classes/World3D.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/World2D.xml b/doc/classes/World2D.xml index b0cf126d7b..4a13389708 100644 --- a/doc/classes/World2D.xml +++ b/doc/classes/World2D.xml @@ -14,7 +14,7 @@ The [RID] of this world's canvas resource. Used by the [RenderingServer] for 2D drawing. </member> <member name="direct_space_state" type="PhysicsDirectSpaceState2D" setter="" getter="get_direct_space_state"> - Direct access to the world's physics 2D space state. Used for querying current and potential collisions. When using multi-threaded physics, access is limited to [code]_physics_process(delta)[/code] in the main thread. + Direct access to the world's physics 2D space state. Used for querying current and potential collisions. When using multi-threaded physics, access is limited to [method Node._physics_process] in the main thread. </member> <member name="navigation_map" type="RID" setter="" getter="get_navigation_map"> The [RID] of this world's navigation map. Used by the [NavigationServer2D]. diff --git a/doc/classes/World3D.xml b/doc/classes/World3D.xml index f3c7136075..5e58bb0360 100644 --- a/doc/classes/World3D.xml +++ b/doc/classes/World3D.xml @@ -14,7 +14,7 @@ The default [CameraAttributes] resource to use if none set on the [Camera3D]. </member> <member name="direct_space_state" type="PhysicsDirectSpaceState3D" setter="" getter="get_direct_space_state"> - Direct access to the world's physics 3D space state. Used for querying current and potential collisions. + Direct access to the world's physics 3D space state. Used for querying current and potential collisions. When using multi-threaded physics, access is limited to [method Node._physics_process] in the main thread. </member> <member name="environment" type="Environment" setter="set_environment" getter="get_environment"> The World3D's [Environment]. |