Editing SceneTree.get_frame() documentaion

to reflect that it returns physics steps that have been processed,
not frames rendered.

fixes #90539

Add reference to physics_frame signal.

Add reference to Engine.get_process_frames

Update doc/classes/SceneTree.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
Lorenzo Zimmmerer 2024-04-30 21:41:01 -04:00 committed by KerekesDavid
parent 6c9765d87e
commit 8152ecabed

View file

@ -109,7 +109,7 @@
<method name="get_frame" qualifiers="const">
<return type="int" />
<description>
Returns how many frames have been processed, since the application started. This is [i]not[/i] a measurement of elapsed time.
Returns how many physics process steps have been processed, since the application started. This is [i]not[/i] a measurement of elapsed time. See also [signal physics_frame]. For the number of frames rendered, see [method Engine.get_process_frames].
</description>
</method>
<method name="get_multiplayer" qualifiers="const">