From 0c027ef0f10c016510d4c0ec00c660c08828bc86 Mon Sep 17 00:00:00 2001 From: Mohammad Khashashneh Date: Fri, 21 Aug 2020 18:54:20 +0300 Subject: Add Node processing and physics processing cumulative (as opposed to delta) time. --- doc/classes/Node.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'doc/classes') 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. + + + + 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. + + 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]. + + + + Returns the total time elapsed (in seconds) since this node has been part of the current scene tree regardless of the pause state. + + + + + + Returns the cumulative time elapsed (in seconds) since this node has been active and running (i.e. not paused) in the current tree. + + Returns the time elapsed (in seconds) since the last process callback. This value may vary from frame to frame. + + + + Returns the total time elapsed (in seconds) since this node has been part of the current scene tree regardless of the pause state. + + -- cgit v1.2.3