From 42567bffb9c6ab8fab21968401d687448b450efe Mon Sep 17 00:00:00 2001 From: "Andrii Doroshenko (Xrayez)" Date: Tue, 14 Jan 2020 22:13:03 +0200 Subject: Document `Engine.get_idle/physics_frames` methods --- doc/classes/Engine.xml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/classes/Engine.xml b/doc/classes/Engine.xml index 04e203793b..53ddde0e4a 100644 --- a/doc/classes/Engine.xml +++ b/doc/classes/Engine.xml @@ -41,7 +41,7 @@ - Returns the total number of frames drawn. + Returns the total number of frames drawn. If the render loop is disabled with [code]--disable-render-loop[/code] via command line, this returns [code]0[/code]. See also [method get_idle_frames]. @@ -51,6 +51,13 @@ Returns the frames per second of the running game. + + + + + Returns the total number of frames passed since engine initialization which is advanced on each [b]idle frame[/b], regardless of whether the render loop is enabled. See also [method get_frames_drawn]. + + @@ -72,6 +79,13 @@ Returns the main loop object (see [MainLoop] and [SceneTree]). + + + + + Returns the total number of frames passed since engine initialization which is advanced on each [b]physics frame[/b]. + + -- cgit v1.2.3