diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-11 08:11:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-11 08:11:30 +0100 |
commit | 43fec5806d9e3383d23df00bd80fc753fdb81aba (patch) | |
tree | 89b3a6bd44a3862bec48f6752efb0837d4bff6bb /doc | |
parent | 723dceb7278da19bf9c1a7a5b7d578802a9578bc (diff) | |
parent | e6d53ba75fe8d58d72fb6f4c261c7fcf73290104 (diff) |
Merge pull request #33453 from Calinou/expose-low-processor-mode-sleep-usec
Expose the `OS.low_processor_usage_mode_sleep_usec` property
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/OS.xml | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ <member name="low_processor_usage_mode" type="bool" setter="set_low_processor_usage_mode" getter="is_in_low_processor_usage_mode" default="false"> If [code]true[/code], the engine optimizes for low processor usage by only refreshing the screen if needed. Can improve battery consumption on mobile. </member> + <member name="low_processor_usage_mode_sleep_usec" type="int" setter="set_low_processor_usage_mode_sleep_usec" getter="get_low_processor_usage_mode_sleep_usec" default="6900"> + The amount of sleeping between frames when the low-processor usage mode is enabled (in microseconds). Higher values will result in lower CPU usage. + </member> <member name="max_window_size" type="Vector2" setter="set_max_window_size" getter="get_max_window_size" default="Vector2( 0, 0 )"> 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. </member> |