summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-12 08:50:19 +0200
committerGitHub <noreply@github.com>2021-07-12 08:50:19 +0200
commitb27683111b95495daf2cf2a39de3ef56fd57bf20 (patch)
tree3adf290f437030e2c6e107fb33f07d060e85ad8c /doc/classes
parent514c8d586a21e2703deff17f7fcdf821809dc78d (diff)
parent74ab336fe349fc1a82785bcbfc22ad8c82c0e931 (diff)
Merge pull request #50385 from Geometror/vsyncmode-int-enum
Change VSync mode project setting enum type from string to integer
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ProjectSettings.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml
index 52bfd3b759..fbd257cdba 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -532,7 +532,7 @@
<member name="display/window/size/width" type="int" setter="" getter="" default="1024">
Sets the game's main viewport width. On desktop platforms, this is the default window size. Stretch mode settings also use this as a reference when enabled.
</member>
- <member name="display/window/vsync/vsync_mode" type="String" setter="" getter="" default="&quot;Enabled&quot;">
+ <member name="display/window/vsync/vsync_mode" type="int" setter="" getter="" default="1">
Sets the VSync mode for the main game window.
See [enum DisplayServer.VSyncMode] for possible values and how they affect the behavior of your application.
Depending on the platform and used renderer, the engine will fall back to [code]Enabled[/code], if the desired mode is not supported.