diff options
author | Saracen <SaracenOne@gmail.com> | 2017-10-14 16:32:27 +0100 |
---|---|---|
committer | Saracen <SaracenOne@gmail.com> | 2017-10-14 16:32:27 +0100 |
commit | d030e6ee759a725efa35a7b52ef2b9153d0a3c64 (patch) | |
tree | ada2432463a95b7b2bd24a50fbf6d656a670ad1b /doc | |
parent | deefc2a63d36b6659630df703a9b98adffb893e9 (diff) |
Expose 'request_frame_drawn_callback' to script.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/VisualServer.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index 85e6207d3f..4bc6a49e91 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -24,6 +24,20 @@ <description> </description> </method> + <method name="request_frame_drawn_callback"> + <return type="void"> + </return> + <argument index="0" name="where" type="Object"> + </argument> + <argument index="1" name="method" type="String"> + </argument> + <argument index="2" name="userdata" type="Variant"> + </argument> + <description> + Schedules a callback to the corresponding named 'method' on 'where' after a frame has been drawn. + The callback method must use only 1 argument which will be called with 'userdata'. + </description> + </method> <method name="texture_create"> <return type="RID"> </return> |