mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with current master branch (893bbdf)
This commit is contained in:
@@ -351,7 +351,7 @@ Emitted when files are dragged from the OS file manager and dropped in the game
|
||||
::
|
||||
|
||||
func _ready():
|
||||
get_viewport().files_dropped.connect(on_files_dropped)
|
||||
get_window().files_dropped.connect(on_files_dropped)
|
||||
|
||||
func on_files_dropped(files):
|
||||
print(files)
|
||||
@@ -515,6 +515,8 @@ Full screen mode with full multi-window support.
|
||||
|
||||
Full screen window covers the entire display area of a screen and has no decorations. The display's video mode is not changed.
|
||||
|
||||
\ **On Android:** This enables immersive mode.
|
||||
|
||||
\ **On Windows:** Multi-window full-screen mode has a 1px border of the :ref:`ProjectSettings.rendering/environment/defaults/default_clear_color<class_ProjectSettings_property_rendering/environment/defaults/default_clear_color>` color.
|
||||
|
||||
\ **On macOS:** A new desktop is used to display the running project.
|
||||
@@ -531,6 +533,8 @@ A single window full screen mode. This mode has less overhead, but only one wind
|
||||
|
||||
Full screen window covers the entire display area of a screen and has no border or decorations. The display's video mode is not changed.
|
||||
|
||||
\ **On Android:** This enables immersive mode.
|
||||
|
||||
\ **On Windows:** Depending on video driver, full screen transition might cause screens to go black for a moment.
|
||||
|
||||
\ **On macOS:** A new desktop is used to display the running project. Exclusive full screen mode prevents Dock and Menu from showing up when the mouse pointer is hovering the edge of the screen.
|
||||
@@ -1002,7 +1006,7 @@ Specifies how the content's aspect behaves when the **Window** is resized. The b
|
||||
- |void| **set_content_scale_factor**\ (\ value\: :ref:`float<class_float>`\ )
|
||||
- :ref:`float<class_float>` **get_content_scale_factor**\ (\ )
|
||||
|
||||
Specifies the base scale of **Window**'s content when its :ref:`size<class_Window_property_size>` is equal to :ref:`content_scale_size<class_Window_property_content_scale_size>`.
|
||||
Specifies the base scale of **Window**'s content when its :ref:`size<class_Window_property_size>` is equal to :ref:`content_scale_size<class_Window_property_content_scale_size>`. See also :ref:`Viewport.get_stretch_transform<class_Viewport_method_get_stretch_transform>`.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
|
||||
Reference in New Issue
Block a user