diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-05 09:35:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 09:35:23 +0100 |
commit | 2b46e2e1d4bd4b062a379b8adb791ffd9444934c (patch) | |
tree | 998ad37a2615b7baa868aec5ba05d4bd06e3b044 /doc/classes/RenderingServer.xml | |
parent | 578460f7fb7b694f4601e8e6fdc4a5ee67de4067 (diff) | |
parent | ac24070056871442b0559e7875372f40aadf8d02 (diff) |
Merge pull request #54620 from briansemrau/request-frame-callable
Use Callable in RenderingServer `request_frame_drawn_callback`
Diffstat (limited to 'doc/classes/RenderingServer.xml')
-rw-r--r-- | doc/classes/RenderingServer.xml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 86e66a5738..68b79ff749 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -2575,12 +2575,9 @@ </method> <method name="request_frame_drawn_callback"> <return type="void" /> - <argument index="0" name="where" type="Object" /> - <argument index="1" name="method" type="StringName" /> - <argument index="2" name="userdata" type="Variant" /> + <argument index="0" name="callable" type="Callable" /> <description> - Schedules a callback to the corresponding named [code]method[/code] on [code]where[/code] after a frame has been drawn. - The callback method must use only 1 argument which will be called with [code]userdata[/code]. + Schedules a callback to the given callable after a frame has been drawn. </description> </method> <method name="scenario_create"> |