Document initial position project settings not affecting run from editor

(cherry picked from commit d3df15f823)
This commit is contained in:
Hugo Locurcio 2024-02-07 01:28:55 +01:00 committed by Rémi Verschelde
parent 803e901e22
commit 5afb5e3132
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 3 additions and 0 deletions

View File

@ -757,15 +757,18 @@
</member> </member>
<member name="display/window/size/initial_position" type="Vector2i" setter="" getter="" default="Vector2i(0, 0)"> <member name="display/window/size/initial_position" type="Vector2i" setter="" getter="" default="Vector2i(0, 0)">
Main window initial position (in virtual desktop coordinates), this setting is used only if [member display/window/size/initial_position_type] is set to "Absolute" ([code]0[/code]). Main window initial position (in virtual desktop coordinates), this setting is used only if [member display/window/size/initial_position_type] is set to "Absolute" ([code]0[/code]).
[b]Note:[/b] This setting only affects the exported project, or when the project is run from the command line. In the editor, the value of [member EditorSettings.run/window_placement/rect_custom_position] is used instead.
</member> </member>
<member name="display/window/size/initial_position_type" type="int" setter="" getter="" default="1"> <member name="display/window/size/initial_position_type" type="int" setter="" getter="" default="1">
Main window initial position. Main window initial position.
[code]0[/code] - "Absolute", [member display/window/size/initial_position] is used to set window position. [code]0[/code] - "Absolute", [member display/window/size/initial_position] is used to set window position.
[code]1[/code] - "Primary Screen Center". [code]1[/code] - "Primary Screen Center".
[code]2[/code] - "Other Screen Center", [member display/window/size/initial_screen] is used to set the screen. [code]2[/code] - "Other Screen Center", [member display/window/size/initial_screen] is used to set the screen.
[b]Note:[/b] This setting only affects the exported project, or when the project is run from the command line. In the editor, the value of [member EditorSettings.run/window_placement/rect] is used instead.
</member> </member>
<member name="display/window/size/initial_screen" type="int" setter="" getter="" default="0"> <member name="display/window/size/initial_screen" type="int" setter="" getter="" default="0">
Main window initial screen, this setting is used only if [member display/window/size/initial_position_type] is set to "Other Screen Center" ([code]2[/code]). Main window initial screen, this setting is used only if [member display/window/size/initial_position_type] is set to "Other Screen Center" ([code]2[/code]).
[b]Note:[/b] This setting only affects the exported project, or when the project is run from the command line. In the editor, the value of [member EditorSettings.run/window_placement/screen] is used instead.
</member> </member>
<member name="display/window/size/mode" type="int" setter="" getter="" default="0"> <member name="display/window/size/mode" type="int" setter="" getter="" default="0">
Main window mode. See [enum DisplayServer.WindowMode] for possible values and how each mode behaves. Main window mode. See [enum DisplayServer.WindowMode] for possible values and how each mode behaves.