From e6d53ba75fe8d58d72fb6f4c261c7fcf73290104 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 8 Nov 2019 18:36:06 +0100 Subject: Expose the `OS.low_processor_usage_mode_sleep_usec` property This makes it possible to change it at runtime in projects. --- doc/classes/OS.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/classes/OS.xml') diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index 5aeeb61647..6da0547352 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -878,6 +878,9 @@ If [code]true[/code], the engine optimizes for low processor usage by only refreshing the screen if needed. Can improve battery consumption on mobile. + + The amount of sleeping between frames when the low-processor usage mode is enabled (in microseconds). Higher values will result in lower CPU usage. + The maximum size of the window (without counting window manager decorations). Does not affect fullscreen mode. Set to [code](0, 0)[/code] to reset to the system default value. -- cgit v1.2.3