Add Behaviour of SceneTree pausing to the doc

(cherry picked from commit 353af122b8)
This commit is contained in:
florian 2018-10-03 15:29:25 +02:00 committed by Rémi Verschelde
parent 2da5e51eee
commit acd6ef1b3b
1 changed files with 4 additions and 0 deletions

View File

@ -271,6 +271,10 @@
</member> </member>
<member name="paused" type="bool" setter="set_pause" getter="is_paused"> <member name="paused" type="bool" setter="set_pause" getter="is_paused">
If [code]true[/code] the SceneTree is paused. If [code]true[/code] the SceneTree is paused.
Doing so will have the following behavior:
* 2D and 3D physics will be stopped.
* _process and _physics_process will not be called anymore in nodes.
* _input and _input_event will not be called anymore either.
</member> </member>
<member name="refuse_new_network_connections" type="bool" setter="set_refuse_new_network_connections" getter="is_refusing_new_network_connections"> <member name="refuse_new_network_connections" type="bool" setter="set_refuse_new_network_connections" getter="is_refusing_new_network_connections">
If [code]true[/code] the SceneTree's [member network_peer] refuses new incoming connections. If [code]true[/code] the SceneTree's [member network_peer] refuses new incoming connections.