summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/DisplayServer.xml2
-rw-r--r--doc/classes/Node.xml24
2 files changed, 26 insertions, 0 deletions
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml
index abb715b34e..4f495eaec9 100644
--- a/doc/classes/DisplayServer.xml
+++ b/doc/classes/DisplayServer.xml
@@ -649,6 +649,8 @@
<argument index="0" name="min_size" type="Vector2i" />
<argument index="1" name="window_id" type="int" default="0" />
<description>
+ Sets the minimum size for the given window to [code]min_size[/code] (in pixels).
+ [b]Note:[/b] By default, the main window has a minimum size of [code]Vector2i(64, 64)[/code]. This prevents issues that can arise when the window is resized to a near-zero size.
</description>
</method>
<method name="window_set_mode">
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index 096fbbf2c0..c35734b5df 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -322,18 +322,42 @@
Returns the relative [NodePath] from this node to the specified [code]node[/code]. Both nodes must be in the same scene or the function will fail.
</description>
</method>
+ <method name="get_physics_process_cumulative_time" qualifiers="const">
+ <return type="float" />
+ <description>
+ Returns the cumulative physics-bound frame time elapsed (in seconds) since this node has been active and running (i.e. not paused) in the current scene tree.
+ </description>
+ </method>
<method name="get_physics_process_delta_time" qualifiers="const">
<return type="float" />
<description>
Returns the time elapsed (in seconds) since the last physics-bound frame (see [method _physics_process]). This is always a constant value in physics processing unless the frames per second is changed via [member Engine.physics_ticks_per_second].
</description>
</method>
+ <method name="get_physics_process_total_time" qualifiers="const">
+ <return type="float" />
+ <description>
+ Returns the total time elapsed (in seconds) since this node has been part of the current scene tree regardless of the pause state.
+ </description>
+ </method>
+ <method name="get_process_cumulative_time" qualifiers="const">
+ <return type="float" />
+ <description>
+ Returns the cumulative time elapsed (in seconds) since this node has been active and running (i.e. not paused) in the current tree.
+ </description>
+ </method>
<method name="get_process_delta_time" qualifiers="const">
<return type="float" />
<description>
Returns the time elapsed (in seconds) since the last process callback. This value may vary from frame to frame.
</description>
</method>
+ <method name="get_process_total_time" qualifiers="const">
+ <return type="float" />
+ <description>
+ Returns the total time elapsed (in seconds) since this node has been part of the current scene tree regardless of the pause state.
+ </description>
+ </method>
<method name="get_scene_instance_load_placeholder" qualifiers="const">
<return type="bool" />
<description>