From 5f7832d64a4fa74ea1cd5bb72e40d5c60776d93d Mon Sep 17 00:00:00 2001 From: Godot Organization Date: Sat, 1 Nov 2025 03:32:20 +0000 Subject: [PATCH] classref: Sync with current master branch (0870525) --- classes/class_@globalscope.rst | 178 ++++++++++-------- classes/class_acceptdialog.rst | 2 + ...lass_animationnodestatemachineplayback.rst | 56 ++++++ classes/class_audiostreamrandomizer.rst | 25 ++- classes/class_confirmationdialog.rst | 2 + classes/class_editorfiledialog.rst | 2 + classes/class_editorsettings.rst | 62 ++++-- classes/class_environment.rst | 8 +- classes/class_filedialog.rst | 2 + classes/class_json.rst | 2 + classes/class_linkbutton.rst | 38 ++++ classes/class_navigationserver2dmanager.rst | 77 ++++++++ classes/class_navigationserver3dmanager.rst | 77 ++++++++ classes/class_object.rst | 2 +- classes/class_optimizedtranslation.rst | 8 +- classes/class_popup.rst | 2 + classes/class_popupmenu.rst | 2 + classes/class_projectsettings.rst | 58 ++++++ classes/class_renderingdevice.rst | 20 ++ classes/class_renderingserver.rst | 4 + .../class_resourceimportercsvtranslation.rst | 68 ++++++- classes/class_resourceimporterimagefont.rst | 4 +- classes/class_textmesh.rst | 14 +- classes/class_vector2.rst | 16 +- classes/class_viewport.rst | 19 ++ classes/index.rst | 2 + 26 files changed, 633 insertions(+), 117 deletions(-) create mode 100644 classes/class_navigationserver2dmanager.rst create mode 100644 classes/class_navigationserver3dmanager.rst diff --git a/classes/class_@globalscope.rst b/classes/class_@globalscope.rst index 336deb686..59633a2a6 100644 --- a/classes/class_@globalscope.rst +++ b/classes/class_@globalscope.rst @@ -42,81 +42,85 @@ Properties .. table:: :widths: auto - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`AudioServer` | :ref:`AudioServer` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`CameraServer` | :ref:`CameraServer` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`ClassDB` | :ref:`ClassDB` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`DisplayServer` | :ref:`DisplayServer` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`EditorInterface` | :ref:`EditorInterface` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`Engine` | :ref:`Engine` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`EngineDebugger` | :ref:`EngineDebugger` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`GDExtensionManager` | :ref:`GDExtensionManager` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`Geometry2D` | :ref:`Geometry2D` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`Geometry3D` | :ref:`Geometry3D` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`IP` | :ref:`IP` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`Input` | :ref:`Input` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`InputMap` | :ref:`InputMap` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`JavaClassWrapper` | :ref:`JavaClassWrapper` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`JavaScriptBridge` | :ref:`JavaScriptBridge` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`Marshalls` | :ref:`Marshalls` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`NativeMenu` | :ref:`NativeMenu` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`NavigationMeshGenerator` | :ref:`NavigationMeshGenerator` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`NavigationServer2D` | :ref:`NavigationServer2D` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`NavigationServer3D` | :ref:`NavigationServer3D` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`OS` | :ref:`OS` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`Performance` | :ref:`Performance` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`PhysicsServer2D` | :ref:`PhysicsServer2D` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`PhysicsServer2DManager` | :ref:`PhysicsServer2DManager` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`PhysicsServer3D` | :ref:`PhysicsServer3D` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`PhysicsServer3DManager` | :ref:`PhysicsServer3DManager` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`ProjectSettings` | :ref:`ProjectSettings` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`RenderingServer` | :ref:`RenderingServer` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`ResourceLoader` | :ref:`ResourceLoader` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`ResourceSaver` | :ref:`ResourceSaver` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`ResourceUID` | :ref:`ResourceUID` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`TextServerManager` | :ref:`TextServerManager` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`ThemeDB` | :ref:`ThemeDB` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`Time` | :ref:`Time` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`TranslationServer` | :ref:`TranslationServer` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`WorkerThreadPool` | :ref:`WorkerThreadPool` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ - | :ref:`XRServer` | :ref:`XRServer` | - +---------------------------------------------------------------+-------------------------------------------------------------------------------------+ + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`AudioServer` | :ref:`AudioServer` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`CameraServer` | :ref:`CameraServer` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`ClassDB` | :ref:`ClassDB` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`DisplayServer` | :ref:`DisplayServer` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`EditorInterface` | :ref:`EditorInterface` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`Engine` | :ref:`Engine` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`EngineDebugger` | :ref:`EngineDebugger` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`GDExtensionManager` | :ref:`GDExtensionManager` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`Geometry2D` | :ref:`Geometry2D` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`Geometry3D` | :ref:`Geometry3D` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`IP` | :ref:`IP` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`Input` | :ref:`Input` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`InputMap` | :ref:`InputMap` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`JavaClassWrapper` | :ref:`JavaClassWrapper` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`JavaScriptBridge` | :ref:`JavaScriptBridge` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`Marshalls` | :ref:`Marshalls` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`NativeMenu` | :ref:`NativeMenu` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`NavigationMeshGenerator` | :ref:`NavigationMeshGenerator` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`NavigationServer2D` | :ref:`NavigationServer2D` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`NavigationServer2DManager` | :ref:`NavigationServer2DManager` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`NavigationServer3D` | :ref:`NavigationServer3D` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`NavigationServer3DManager` | :ref:`NavigationServer3DManager` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`OS` | :ref:`OS` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`Performance` | :ref:`Performance` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`PhysicsServer2D` | :ref:`PhysicsServer2D` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`PhysicsServer2DManager` | :ref:`PhysicsServer2DManager` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`PhysicsServer3D` | :ref:`PhysicsServer3D` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`PhysicsServer3DManager` | :ref:`PhysicsServer3DManager` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`ProjectSettings` | :ref:`ProjectSettings` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`RenderingServer` | :ref:`RenderingServer` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`ResourceLoader` | :ref:`ResourceLoader` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`ResourceSaver` | :ref:`ResourceSaver` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`ResourceUID` | :ref:`ResourceUID` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`TextServerManager` | :ref:`TextServerManager` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`ThemeDB` | :ref:`ThemeDB` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`Time` | :ref:`Time` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`TranslationServer` | :ref:`TranslationServer` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`WorkerThreadPool` | :ref:`WorkerThreadPool` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ + | :ref:`XRServer` | :ref:`XRServer` | + +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group @@ -5064,6 +5068,18 @@ The :ref:`NavigationServer2D` singleton. ---- +.. _class_@GlobalScope_property_NavigationServer2DManager: + +.. rst-class:: classref-property + +:ref:`NavigationServer2DManager` **NavigationServer2DManager** :ref:`πŸ”—` + +The :ref:`NavigationServer2DManager` singleton. + +.. rst-class:: classref-item-separator + +---- + .. _class_@GlobalScope_property_NavigationServer3D: .. rst-class:: classref-property @@ -5076,6 +5092,18 @@ The :ref:`NavigationServer3D` singleton. ---- +.. _class_@GlobalScope_property_NavigationServer3DManager: + +.. rst-class:: classref-property + +:ref:`NavigationServer3DManager` **NavigationServer3DManager** :ref:`πŸ”—` + +The :ref:`NavigationServer3DManager` singleton. + +.. rst-class:: classref-item-separator + +---- + .. _class_@GlobalScope_property_OS: .. rst-class:: classref-property diff --git a/classes/class_acceptdialog.rst b/classes/class_acceptdialog.rst index 7edf68541..aaaa6294f 100644 --- a/classes/class_acceptdialog.rst +++ b/classes/class_acceptdialog.rst @@ -23,6 +23,8 @@ Description The default use of **AcceptDialog** is to allow it to only be accepted or closed, with the same result. However, the :ref:`confirmed` and :ref:`canceled` signals allow to make the two actions different, and the :ref:`add_button()` method allows to add custom buttons and actions. +\ **Note:** **AcceptDialog** is invisible by default. To make it visible, call one of the ``popup_*`` methods from :ref:`Window` on the node, such as :ref:`Window.popup_centered_clamped()`. + .. rst-class:: classref-reftable-group Properties diff --git a/classes/class_animationnodestatemachineplayback.rst b/classes/class_animationnodestatemachineplayback.rst index 0755e0614..3eb264a82 100644 --- a/classes/class_animationnodestatemachineplayback.rst +++ b/classes/class_animationnodestatemachineplayback.rst @@ -70,8 +70,16 @@ Methods +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_current_play_position`\ (\ ) |const| | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | :ref:`float` | :ref:`get_fading_from_length`\ (\ ) |const| | + +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`StringName` | :ref:`get_fading_from_node`\ (\ ) |const| | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | :ref:`float` | :ref:`get_fading_from_play_position`\ (\ ) |const| | + +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | :ref:`float` | :ref:`get_fading_length`\ (\ ) |const| | + +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | :ref:`float` | :ref:`get_fading_position`\ (\ ) |const| | + +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array`\[:ref:`StringName`\] | :ref:`get_travel_path`\ (\ ) |const| | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_playing`\ (\ ) |const| | @@ -165,6 +173,18 @@ Returns the playback position within the current animation state. ---- +.. _class_AnimationNodeStateMachinePlayback_method_get_fading_from_length: + +.. rst-class:: classref-method + +:ref:`float` **get_fading_from_length**\ (\ ) |const| :ref:`πŸ”—` + +Returns the playback state length of the node from :ref:`get_fading_from_node()`. Returns ``0`` if no animation fade is occurring. + +.. rst-class:: classref-item-separator + +---- + .. _class_AnimationNodeStateMachinePlayback_method_get_fading_from_node: .. rst-class:: classref-method @@ -177,6 +197,42 @@ Returns the starting state of currently fading animation. ---- +.. _class_AnimationNodeStateMachinePlayback_method_get_fading_from_play_position: + +.. rst-class:: classref-method + +:ref:`float` **get_fading_from_play_position**\ (\ ) |const| :ref:`πŸ”—` + +Returns the playback position of the node from :ref:`get_fading_from_node()`. Returns ``0`` if no animation fade is occurring. + +.. rst-class:: classref-item-separator + +---- + +.. _class_AnimationNodeStateMachinePlayback_method_get_fading_length: + +.. rst-class:: classref-method + +:ref:`float` **get_fading_length**\ (\ ) |const| :ref:`πŸ”—` + +Returns the length of the current fade animation. Returns ``0`` if no animation fade is occurring. + +.. rst-class:: classref-item-separator + +---- + +.. _class_AnimationNodeStateMachinePlayback_method_get_fading_position: + +.. rst-class:: classref-method + +:ref:`float` **get_fading_position**\ (\ ) |const| :ref:`πŸ”—` + +Returns the playback position of the current fade animation. Returns ``0`` if no animation fade is occurring. + +.. rst-class:: classref-item-separator + +---- + .. _class_AnimationNodeStateMachinePlayback_method_get_travel_path: .. rst-class:: classref-method diff --git a/classes/class_audiostreamrandomizer.rst b/classes/class_audiostreamrandomizer.rst index f5237f730..613c7ad5c 100644 --- a/classes/class_audiostreamrandomizer.rst +++ b/classes/class_audiostreamrandomizer.rst @@ -34,6 +34,8 @@ Properties +--------------------------------------------------------------+----------------------------------------------------------------------------------------------+---------+ | :ref:`float` | :ref:`random_pitch` | ``1.0`` | +--------------------------------------------------------------+----------------------------------------------------------------------------------------------+---------+ + | :ref:`float` | :ref:`random_pitch_semitones` | ``0.0`` | + +--------------------------------------------------------------+----------------------------------------------------------------------------------------------+---------+ | :ref:`float` | :ref:`random_volume_offset_db` | ``0.0`` | +--------------------------------------------------------------+----------------------------------------------------------------------------------------------+---------+ | :ref:`int` | :ref:`streams_count` | ``0`` | @@ -139,7 +141,28 @@ Controls how this AudioStreamRandomizer picks which AudioStream to play next. - |void| **set_random_pitch**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_random_pitch**\ (\ ) -The intensity of random pitch variation. A value of 1 means no variation. +The largest possible frequency multiplier of the random pitch variation. A value of ``1.0`` means no variation. + +\ **Note:** Setting this property also sets :ref:`random_pitch_semitones`. + +.. rst-class:: classref-item-separator + +---- + +.. _class_AudioStreamRandomizer_property_random_pitch_semitones: + +.. rst-class:: classref-property + +:ref:`float` **random_pitch_semitones** = ``0.0`` :ref:`πŸ”—` + +.. rst-class:: classref-property-setget + +- |void| **set_random_pitch_semitones**\ (\ value\: :ref:`float`\ ) +- :ref:`float` **get_random_pitch_semitones**\ (\ ) + +The largest possible distance, in semitones, of the random pitch variation. A value of ``0.0`` means no variation. + +\ **Note:** Setting this property also sets :ref:`random_pitch`. .. rst-class:: classref-item-separator diff --git a/classes/class_confirmationdialog.rst b/classes/class_confirmationdialog.rst index cc06c41a2..d05027caf 100644 --- a/classes/class_confirmationdialog.rst +++ b/classes/class_confirmationdialog.rst @@ -38,6 +38,8 @@ To get cancel action, you can use: +\ **Note:** :ref:`AcceptDialog` is invisible by default. To make it visible, call one of the ``popup_*`` methods from :ref:`Window` on the node, such as :ref:`Window.popup_centered_clamped()`. + .. rst-class:: classref-reftable-group Properties diff --git a/classes/class_editorfiledialog.rst b/classes/class_editorfiledialog.rst index 79f3a02e3..f901525cc 100644 --- a/classes/class_editorfiledialog.rst +++ b/classes/class_editorfiledialog.rst @@ -23,6 +23,8 @@ Description Unlike :ref:`FileDialog`, **EditorFileDialog** does not have a property for using native dialogs. Instead, native dialogs can be enabled globally via the :ref:`EditorSettings.interface/editor/use_native_file_dialogs` editor setting. They are also enabled automatically when running in sandbox (e.g. on macOS). +\ **Note:** **EditorFileDialog** is invisible by default. To make it visible, call one of the ``popup_*`` methods from :ref:`Window` on the node, such as :ref:`Window.popup_centered_clamped()`. + .. rst-class:: classref-reftable-group Properties diff --git a/classes/class_editorsettings.rst b/classes/class_editorsettings.rst index c2279f3cc..41f0ada6c 100644 --- a/classes/class_editorsettings.rst +++ b/classes/class_editorsettings.rst @@ -597,6 +597,8 @@ Properties +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`interface/theme/border_size` | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | :ref:`String` | :ref:`interface/theme/color_preset` | + +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`interface/theme/contrast` | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`interface/theme/corner_radius` | @@ -605,18 +607,20 @@ Properties +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`interface/theme/draw_extra_borders` | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | :ref:`int` | :ref:`interface/theme/draw_relationship_lines` | + +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`interface/theme/follow_system_theme` | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`interface/theme/icon_and_font_color` | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`interface/theme/icon_saturation` | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ - | :ref:`String` | :ref:`interface/theme/preset` | - +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`interface/theme/relationship_line_opacity` | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`interface/theme/spacing_preset` | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | :ref:`String` | :ref:`interface/theme/style` | + +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`interface/theme/use_system_accent_color` | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`interface/touchscreen/enable_long_press_as_right_click` | @@ -4484,6 +4488,18 @@ The border size to use for interface elements (in pixels). ---- +.. _class_EditorSettings_property_interface/theme/color_preset: + +.. rst-class:: classref-property + +:ref:`String` **interface/theme/color_preset** :ref:`πŸ”—` + +The editor color preset to use. + +.. rst-class:: classref-item-separator + +---- + .. _class_EditorSettings_property_interface/theme/contrast: .. rst-class:: classref-property @@ -4532,6 +4548,24 @@ If ``true``, draws additional borders around interactive UI elements in the edit ---- +.. _class_EditorSettings_property_interface/theme/draw_relationship_lines: + +.. rst-class:: classref-property + +:ref:`int` **interface/theme/draw_relationship_lines** :ref:`πŸ”—` + +What relationship lines to draw in the editor's :ref:`Tree`-based GUIs (such as the Scene tree dock). + +- **None** will make it so that no relationship lines are drawn. + +- **Selected Only** will only draw them for selected items. + +- **All** will always draw them for all items. + +.. rst-class:: classref-item-separator + +---- + .. _class_EditorSettings_property_interface/theme/follow_system_theme: .. rst-class:: classref-property @@ -4576,18 +4610,6 @@ The saturation to use for editor icons. Higher values result in more vibrant col ---- -.. _class_EditorSettings_property_interface/theme/preset: - -.. rst-class:: classref-property - -:ref:`String` **interface/theme/preset** :ref:`πŸ”—` - -The editor theme preset to use. - -.. rst-class:: classref-item-separator - ----- - .. _class_EditorSettings_property_interface/theme/relationship_line_opacity: .. rst-class:: classref-property @@ -4612,6 +4634,18 @@ The editor theme spacing preset to use. See also :ref:`interface/theme/base_spac ---- +.. _class_EditorSettings_property_interface/theme/style: + +.. rst-class:: classref-property + +:ref:`String` **interface/theme/style** :ref:`πŸ”—` + +The editor theme style to use. + +.. rst-class:: classref-item-separator + +---- + .. _class_EditorSettings_property_interface/theme/use_system_accent_color: .. rst-class:: classref-property diff --git a/classes/class_environment.rst b/classes/class_environment.rst index 7cbc5119c..0c61a3bfc 100644 --- a/classes/class_environment.rst +++ b/classes/class_environment.rst @@ -119,11 +119,11 @@ Properties +------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`float` | :ref:`glow_hdr_scale` | ``2.0`` | +------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+ - | :ref:`float` | :ref:`glow_hdr_threshold` | ``1.0`` | + | :ref:`float` | :ref:`glow_hdr_threshold` | ``0.0`` | +------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`float` | :ref:`glow_intensity` | ``0.3`` | +------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+ - | :ref:`float` | :ref:`glow_levels/1` | ``1.0`` | + | :ref:`float` | :ref:`glow_levels/1` | ``0.0`` | +------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`float` | :ref:`glow_levels/2` | ``0.8`` | +------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+ @@ -1169,7 +1169,7 @@ The bleed scale of the HDR glow. .. rst-class:: classref-property -:ref:`float` **glow_hdr_threshold** = ``1.0`` :ref:`πŸ”—` +:ref:`float` **glow_hdr_threshold** = ``0.0`` :ref:`πŸ”—` .. rst-class:: classref-property-setget @@ -1203,7 +1203,7 @@ The overall brightness multiplier of the glow effect. When using the Mobile rend .. rst-class:: classref-property -:ref:`float` **glow_levels/1** = ``1.0`` :ref:`πŸ”—` +:ref:`float` **glow_levels/1** = ``0.0`` :ref:`πŸ”—` .. rst-class:: classref-property-setget diff --git a/classes/class_filedialog.rst b/classes/class_filedialog.rst index ac072eb5a..4aa123b72 100644 --- a/classes/class_filedialog.rst +++ b/classes/class_filedialog.rst @@ -21,6 +21,8 @@ Description **FileDialog** is a preset dialog used to choose files and directories in the filesystem. It supports filter masks. **FileDialog** automatically sets its window title according to the :ref:`file_mode`. If you want to use a custom title, disable this by setting :ref:`mode_overrides_title` to ``false``. +\ **Note:** **FileDialog** is invisible by default. To make it visible, call one of the ``popup_*`` methods from :ref:`Window` on the node, such as :ref:`Window.popup_centered_clamped()`. + .. rst-class:: classref-reftable-group Properties diff --git a/classes/class_json.rst b/classes/class_json.rst index 409b34941..1af69efef 100644 --- a/classes/class_json.rst +++ b/classes/class_json.rst @@ -229,6 +229,8 @@ Converts a :ref:`Variant` var to JSON text and returns the result The ``indent`` parameter controls if and how something is indented; its contents will be used where there should be an indent in the output. Even spaces like ``" "`` will work. ``\t`` and ``\n`` can also be used for a tab indent, or to make a newline for each indent respectively. +\ **Warning:** Non-finite numbers are not supported in JSON. Any occurrences of :ref:`@GDScript.INF` will be replaced with ``1e99999``, and negative :ref:`@GDScript.INF` will be replaced with ``-1e99999``, but they will be interpreted correctly as infinity by most JSON parsers. :ref:`@GDScript.NAN` will be replaced with ``null``, and it will not be interpreted as NaN in JSON parsers. If you expect non-finite numbers, consider passing your data through :ref:`from_native()` first. + \ **Example output:**\ :: diff --git a/classes/class_linkbutton.rst b/classes/class_linkbutton.rst index c0d65b110..c0b45f222 100644 --- a/classes/class_linkbutton.rst +++ b/classes/class_linkbutton.rst @@ -31,6 +31,8 @@ Properties .. table:: :widths: auto + +-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ + | :ref:`String` | :ref:`ellipsis_char` | ``"…"`` | +-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :ref:`FocusMode` | focus_mode | ``3`` (overrides :ref:`Control`) | +-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ @@ -46,6 +48,8 @@ Properties +-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :ref:`TextDirection` | :ref:`text_direction` | ``0`` | +-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ + | :ref:`OverrunBehavior` | :ref:`text_overrun_behavior` | ``0`` | + +-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :ref:`UnderlineMode` | :ref:`underline` | ``0`` | +-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`uri` | ``""`` | @@ -133,6 +137,23 @@ The LinkButton will never show an underline at the bottom of its text. Property Descriptions --------------------- +.. _class_LinkButton_property_ellipsis_char: + +.. rst-class:: classref-property + +:ref:`String` **ellipsis_char** = ``"…"`` :ref:`πŸ”—` + +.. rst-class:: classref-property-setget + +- |void| **set_ellipsis_char**\ (\ value\: :ref:`String`\ ) +- :ref:`String` **get_ellipsis_char**\ (\ ) + +Ellipsis character used for text clipping. + +.. rst-class:: classref-item-separator + +---- + .. _class_LinkButton_property_language: .. rst-class:: classref-property @@ -218,6 +239,23 @@ Base text writing direction. ---- +.. _class_LinkButton_property_text_overrun_behavior: + +.. rst-class:: classref-property + +:ref:`OverrunBehavior` **text_overrun_behavior** = ``0`` :ref:`πŸ”—` + +.. rst-class:: classref-property-setget + +- |void| **set_text_overrun_behavior**\ (\ value\: :ref:`OverrunBehavior`\ ) +- :ref:`OverrunBehavior` **get_text_overrun_behavior**\ (\ ) + +Sets the clipping behavior when the text exceeds the node's bounding rectangle. + +.. rst-class:: classref-item-separator + +---- + .. _class_LinkButton_property_underline: .. rst-class:: classref-property diff --git a/classes/class_navigationserver2dmanager.rst b/classes/class_navigationserver2dmanager.rst new file mode 100644 index 000000000..26699a145 --- /dev/null +++ b/classes/class_navigationserver2dmanager.rst @@ -0,0 +1,77 @@ +:github_url: hide + +.. DO NOT EDIT THIS FILE!!! +.. Generated automatically from Godot engine sources. +.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. +.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/NavigationServer2DManager.xml. + +.. _class_NavigationServer2DManager: + +NavigationServer2DManager +========================= + +**Inherits:** :ref:`Object` + +A singleton for managing :ref:`NavigationServer2D` implementations. + +.. rst-class:: classref-introduction-group + +Description +----------- + +**NavigationServer2DManager** is the API for registering :ref:`NavigationServer2D` implementations and setting the default implementation. + +\ **Note:** It is not possible to switch servers at runtime. This class is only used on startup at the server initialization level. + +.. rst-class:: classref-reftable-group + +Methods +------- + +.. table:: + :widths: auto + + +--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | |void| | :ref:`register_server`\ (\ name\: :ref:`String`, create_callback\: :ref:`Callable`\ ) | + +--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | |void| | :ref:`set_default_server`\ (\ name\: :ref:`String`, priority\: :ref:`int`\ ) | + +--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + +.. rst-class:: classref-section-separator + +---- + +.. rst-class:: classref-descriptions-group + +Method Descriptions +------------------- + +.. _class_NavigationServer2DManager_method_register_server: + +.. rst-class:: classref-method + +|void| **register_server**\ (\ name\: :ref:`String`, create_callback\: :ref:`Callable`\ ) :ref:`πŸ”—` + +Registers a :ref:`NavigationServer2D` implementation by passing a ``name`` and a :ref:`Callable` that returns a :ref:`NavigationServer2D` object. + +.. rst-class:: classref-item-separator + +---- + +.. _class_NavigationServer2DManager_method_set_default_server: + +.. rst-class:: classref-method + +|void| **set_default_server**\ (\ name\: :ref:`String`, priority\: :ref:`int`\ ) :ref:`πŸ”—` + +Sets the default :ref:`NavigationServer2D` implementation to the one identified by ``name``, if ``priority`` is greater than the priority of the current default implementation. + +.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` +.. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` +.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` +.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` +.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` +.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` +.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` +.. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)` +.. |void| replace:: :abbr:`void (No return value.)` diff --git a/classes/class_navigationserver3dmanager.rst b/classes/class_navigationserver3dmanager.rst new file mode 100644 index 000000000..30f94c129 --- /dev/null +++ b/classes/class_navigationserver3dmanager.rst @@ -0,0 +1,77 @@ +:github_url: hide + +.. DO NOT EDIT THIS FILE!!! +.. Generated automatically from Godot engine sources. +.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. +.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/NavigationServer3DManager.xml. + +.. _class_NavigationServer3DManager: + +NavigationServer3DManager +========================= + +**Inherits:** :ref:`Object` + +A singleton for managing :ref:`NavigationServer3D` implementations. + +.. rst-class:: classref-introduction-group + +Description +----------- + +**NavigationServer3DManager** is the API for registering :ref:`NavigationServer3D` implementations and setting the default implementation. + +\ **Note:** It is not possible to switch servers at runtime. This class is only used on startup at the server initialization level. + +.. rst-class:: classref-reftable-group + +Methods +------- + +.. table:: + :widths: auto + + +--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | |void| | :ref:`register_server`\ (\ name\: :ref:`String`, create_callback\: :ref:`Callable`\ ) | + +--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | |void| | :ref:`set_default_server`\ (\ name\: :ref:`String`, priority\: :ref:`int`\ ) | + +--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + +.. rst-class:: classref-section-separator + +---- + +.. rst-class:: classref-descriptions-group + +Method Descriptions +------------------- + +.. _class_NavigationServer3DManager_method_register_server: + +.. rst-class:: classref-method + +|void| **register_server**\ (\ name\: :ref:`String`, create_callback\: :ref:`Callable`\ ) :ref:`πŸ”—` + +Registers a :ref:`NavigationServer3D` implementation by passing a ``name`` and a :ref:`Callable` that returns a :ref:`NavigationServer3D` object. + +.. rst-class:: classref-item-separator + +---- + +.. _class_NavigationServer3DManager_method_set_default_server: + +.. rst-class:: classref-method + +|void| **set_default_server**\ (\ name\: :ref:`String`, priority\: :ref:`int`\ ) :ref:`πŸ”—` + +Sets the default :ref:`NavigationServer3D` implementation to the one identified by ``name``, if ``priority`` is greater than the priority of the current default implementation. + +.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` +.. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` +.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` +.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` +.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` +.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` +.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` +.. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)` +.. |void| replace:: :abbr:`void (No return value.)` diff --git a/classes/class_object.rst b/classes/class_object.rst index 65ae7e17f..2fa82b025 100644 --- a/classes/class_object.rst +++ b/classes/class_object.rst @@ -10,7 +10,7 @@ Object ====== -**Inherited By:** :ref:`AudioServer`, :ref:`CameraServer`, :ref:`ClassDB`, :ref:`DisplayServer`, :ref:`EditorFileSystemDirectory`, :ref:`EditorInterface`, :ref:`EditorPaths`, :ref:`EditorSelection`, :ref:`EditorUndoRedoManager`, :ref:`EditorVCSInterface`, :ref:`Engine`, :ref:`EngineDebugger`, :ref:`FramebufferCacheRD`, :ref:`GDExtensionManager`, :ref:`Geometry2D`, :ref:`Geometry3D`, :ref:`GodotInstance`, :ref:`Input`, :ref:`InputMap`, :ref:`IP`, :ref:`JavaClassWrapper`, :ref:`JavaScriptBridge`, :ref:`JNISingleton`, :ref:`JSONRPC`, :ref:`MainLoop`, :ref:`Marshalls`, :ref:`MovieWriter`, :ref:`NativeMenu`, :ref:`NavigationMeshGenerator`, :ref:`NavigationServer2D`, :ref:`NavigationServer3D`, :ref:`Node`, :ref:`OpenXRExtensionWrapper`, :ref:`OpenXRInteractionProfileMetadata`, :ref:`OS`, :ref:`Performance`, :ref:`PhysicsDirectBodyState2D`, :ref:`PhysicsDirectBodyState3D`, :ref:`PhysicsDirectSpaceState2D`, :ref:`PhysicsDirectSpaceState3D`, :ref:`PhysicsServer2D`, :ref:`PhysicsServer2DManager`, :ref:`PhysicsServer3D`, :ref:`PhysicsServer3DManager`, :ref:`PhysicsServer3DRenderingServerHandler`, :ref:`ProjectSettings`, :ref:`RefCounted`, :ref:`RenderData`, :ref:`RenderingDevice`, :ref:`RenderingServer`, :ref:`RenderSceneData`, :ref:`ResourceLoader`, :ref:`ResourceSaver`, :ref:`ResourceUID`, :ref:`ScriptLanguage`, :ref:`ShaderIncludeDB`, :ref:`TextServerManager`, :ref:`ThemeDB`, :ref:`TileData`, :ref:`Time`, :ref:`TranslationServer`, :ref:`TreeItem`, :ref:`UndoRedo`, :ref:`UniformSetCacheRD`, :ref:`WorkerThreadPool`, :ref:`XRServer`, :ref:`XRVRS` +**Inherited By:** :ref:`AudioServer`, :ref:`CameraServer`, :ref:`ClassDB`, :ref:`DisplayServer`, :ref:`EditorFileSystemDirectory`, :ref:`EditorInterface`, :ref:`EditorPaths`, :ref:`EditorSelection`, :ref:`EditorUndoRedoManager`, :ref:`EditorVCSInterface`, :ref:`Engine`, :ref:`EngineDebugger`, :ref:`FramebufferCacheRD`, :ref:`GDExtensionManager`, :ref:`Geometry2D`, :ref:`Geometry3D`, :ref:`GodotInstance`, :ref:`Input`, :ref:`InputMap`, :ref:`IP`, :ref:`JavaClassWrapper`, :ref:`JavaScriptBridge`, :ref:`JNISingleton`, :ref:`JSONRPC`, :ref:`MainLoop`, :ref:`Marshalls`, :ref:`MovieWriter`, :ref:`NativeMenu`, :ref:`NavigationMeshGenerator`, :ref:`NavigationServer2D`, :ref:`NavigationServer2DManager`, :ref:`NavigationServer3D`, :ref:`NavigationServer3DManager`, :ref:`Node`, :ref:`OpenXRExtensionWrapper`, :ref:`OpenXRInteractionProfileMetadata`, :ref:`OS`, :ref:`Performance`, :ref:`PhysicsDirectBodyState2D`, :ref:`PhysicsDirectBodyState3D`, :ref:`PhysicsDirectSpaceState2D`, :ref:`PhysicsDirectSpaceState3D`, :ref:`PhysicsServer2D`, :ref:`PhysicsServer2DManager`, :ref:`PhysicsServer3D`, :ref:`PhysicsServer3DManager`, :ref:`PhysicsServer3DRenderingServerHandler`, :ref:`ProjectSettings`, :ref:`RefCounted`, :ref:`RenderData`, :ref:`RenderingDevice`, :ref:`RenderingServer`, :ref:`RenderSceneData`, :ref:`ResourceLoader`, :ref:`ResourceSaver`, :ref:`ResourceUID`, :ref:`ScriptLanguage`, :ref:`ShaderIncludeDB`, :ref:`TextServerManager`, :ref:`ThemeDB`, :ref:`TileData`, :ref:`Time`, :ref:`TranslationServer`, :ref:`TreeItem`, :ref:`UndoRedo`, :ref:`UniformSetCacheRD`, :ref:`WorkerThreadPool`, :ref:`XRServer`, :ref:`XRVRS` Base class for all other classes in the engine. diff --git a/classes/class_optimizedtranslation.rst b/classes/class_optimizedtranslation.rst index a988c46d0..f6506c730 100644 --- a/classes/class_optimizedtranslation.rst +++ b/classes/class_optimizedtranslation.rst @@ -12,14 +12,16 @@ OptimizedTranslation **Inherits:** :ref:`Translation` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -An optimized translation, used by default for CSV Translations. +An optimized translation. .. rst-class:: classref-introduction-group Description ----------- -An optimized translation, used by default for CSV Translations. Uses real-time compressed translations, which results in very small dictionaries. +An optimized translation. Uses real-time compressed translations, which results in very small dictionaries. + +This class does not store the untranslated strings for optimization purposes. Therefore, :ref:`Translation.get_message_list()` always returns an empty array, and :ref:`Translation.get_message_count()` always returns ``0``. .. rst-class:: classref-reftable-group @@ -50,6 +52,8 @@ Method Descriptions Generates and sets an optimized translation from the given :ref:`Translation` resource. +\ **Note:** Messages in ``from`` should not use context or plural forms. + \ **Note:** This method is intended to be used in the editor. It does nothing when called from an exported project. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` diff --git a/classes/class_popup.rst b/classes/class_popup.rst index 4369b4d61..d3611d0f0 100644 --- a/classes/class_popup.rst +++ b/classes/class_popup.rst @@ -23,6 +23,8 @@ Description **Popup** is a base class for contextual windows and panels with fixed position. It's a modal by default (see :ref:`Window.popup_window`) and provides methods for implementing custom popup behavior. +\ **Note:** **Popup** is invisible by default. To make it visible, call one of the ``popup_*`` methods from :ref:`Window` on the node, such as :ref:`Window.popup_centered_clamped()`. + .. rst-class:: classref-reftable-group Properties diff --git a/classes/class_popupmenu.rst b/classes/class_popupmenu.rst index 32aea08e2..1d80d7154 100644 --- a/classes/class_popupmenu.rst +++ b/classes/class_popupmenu.rst @@ -27,6 +27,8 @@ All ``set_*`` methods allow negative item indices, i.e. ``-1`` to access the las \ **Incremental search:** Like :ref:`ItemList` and :ref:`Tree`, **PopupMenu** supports searching within the list while the control is focused. Press a key that matches the first letter of an item's name to select the first item starting with the given letter. After that point, there are two ways to perform incremental search: 1) Press the same key again before the timeout duration to select the next item starting with the same letter. 2) Press letter keys that match the rest of the word before the timeout duration to match to select the item in question directly. Both of these actions will be reset to the beginning of the list if the timeout duration has passed since the last keystroke was registered. You can adjust the timeout duration by changing :ref:`ProjectSettings.gui/timers/incremental_search_max_interval_msec`. +\ **Note:** **PopupMenu** is invisible by default. To make it visible, call one of the ``popup_*`` methods from :ref:`Window` on the node, such as :ref:`Window.popup_centered_clamped()`. + \ **Note:** The ID values used for items are limited to 32 bits, not full 64 bits of :ref:`int`. This has a range of ``-2^32`` to ``2^32 - 1``, i.e. ``-2147483648`` to ``2147483647``. .. rst-class:: classref-reftable-group diff --git a/classes/class_projectsettings.rst b/classes/class_projectsettings.rst index 1bfb25cf3..da7ef5b52 100644 --- a/classes/class_projectsettings.rst +++ b/classes/class_projectsettings.rst @@ -593,6 +593,8 @@ Properties +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`gui/common/default_scroll_deadzone` | ``0`` | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ + | :ref:`int` | :ref:`gui/common/drag_threshold` | ``10`` | + +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`gui/common/show_focus_state_on_pointer_event` | ``1`` | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`gui/common/snap_controls_to_pixels` | ``true`` | @@ -1287,6 +1289,8 @@ Properties +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`navigation/2d/merge_rasterizer_cell_scale` | ``1.0`` | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ + | :ref:`String` | :ref:`navigation/2d/navigation_engine` | ``"DEFAULT"`` | + +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`navigation/2d/use_edge_connections` | ``true`` | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`navigation/2d/warnings/navmesh_cell_size_mismatch` | ``true`` | @@ -1305,6 +1309,8 @@ Properties +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`navigation/3d/merge_rasterizer_cell_scale` | ``1.0`` | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ + | :ref:`String` | :ref:`navigation/3d/navigation_engine` | ``"DEFAULT"`` | + +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`navigation/3d/use_edge_connections` | ``true`` | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`navigation/3d/warnings/navmesh_cell_size_mismatch` | ``true`` | @@ -5490,6 +5496,18 @@ Default value for :ref:`ScrollContainer.scroll_deadzone` **gui/common/drag_threshold** = ``10`` :ref:`πŸ”—` + +The minimum distance the mouse cursor must move while pressed before a drag operation begins in the default viewport. For custom viewports see :ref:`Viewport.gui_drag_threshold`. + +.. rst-class:: classref-item-separator + +---- + .. _class_ProjectSettings_property_gui/common/show_focus_state_on_pointer_event: .. rst-class:: classref-property @@ -9884,6 +9902,26 @@ Default merge rasterizer cell scale for 2D navigation maps. See :ref:`Navigation ---- +.. _class_ProjectSettings_property_navigation/2d/navigation_engine: + +.. rst-class:: classref-property + +:ref:`String` **navigation/2d/navigation_engine** = ``"DEFAULT"`` :ref:`πŸ”—` + +Sets which navigation engine to use for 2D navigation. + +\ **DEFAULT** is equivalent to **GodotNavigation2D**, but may change in future releases. Select an explicit implementation if you want to ensure that your project stays on the same engine. + +\ **GodotNavigation2D** is Godot's internal 2D navigation engine. + +\ **Dummy** is a 2D navigation server that does nothing and returns only dummy values, effectively disabling all 2D navigation functionality. + +Third-party modules can add other navigation engines to select with this setting. + +.. rst-class:: classref-item-separator + +---- + .. _class_ProjectSettings_property_navigation/2d/use_edge_connections: .. rst-class:: classref-property @@ -9992,6 +10030,26 @@ Default merge rasterizer cell scale for 3D navigation maps. See :ref:`Navigation ---- +.. _class_ProjectSettings_property_navigation/3d/navigation_engine: + +.. rst-class:: classref-property + +:ref:`String` **navigation/3d/navigation_engine** = ``"DEFAULT"`` :ref:`πŸ”—` + +Sets which navigation engine to use for 3D navigation. + +\ **DEFAULT** is equivalent to **GodotNavigation3D**, but may change in future releases. Select an explicit implementation if you want to ensure that your project stays on the same engine. + +\ **GodotNavigation3D** is Godot's internal 3D navigation engine. + +\ **Dummy** is a 3D navigation server that does nothing and returns only dummy values, effectively disabling all 3D navigation functionality. + +Third-party modules can add other navigation engines to select with this setting. + +.. rst-class:: classref-item-separator + +---- + .. _class_ProjectSettings_property_navigation/3d/use_edge_connections: .. rst-class:: classref-property diff --git a/classes/class_renderingdevice.rst b/classes/class_renderingdevice.rst index dedf11354..be6d8e5a5 100644 --- a/classes/class_renderingdevice.rst +++ b/classes/class_renderingdevice.rst @@ -5515,6 +5515,8 @@ Creates a new compute pipeline. It can be accessed with the RID that is returned Once finished with your RID, you will want to free the RID using the RenderingDevice's :ref:`free_rid()` method. +This will be freed automatically when the ``shader`` is freed. + .. rst-class:: classref-item-separator ---- @@ -5826,6 +5828,8 @@ Creates a new framebuffer. It can be accessed with the RID that is returned. Once finished with your RID, you will want to free the RID using the RenderingDevice's :ref:`free_rid()` method. +This will be freed automatically when any of the ``textures`` is freed. + .. rst-class:: classref-item-separator ---- @@ -5854,6 +5858,8 @@ Creates a new multipass framebuffer. It can be accessed with the RID that is ret Once finished with your RID, you will want to free the RID using the RenderingDevice's :ref:`free_rid()` method. +This will be freed automatically when any of the ``textures`` is freed. + .. rst-class:: classref-item-separator ---- @@ -6318,6 +6324,8 @@ Creates a new index array. It can be accessed with the RID that is returned. Once finished with your RID, you will want to free the RID using the RenderingDevice's :ref:`free_rid()` method. +This will be freed automatically when the ``index_buffer`` is freed. + .. rst-class:: classref-item-separator ---- @@ -6360,6 +6368,8 @@ Creates a new render pipeline. It can be accessed with the RID that is returned. Once finished with your RID, you will want to free the RID using the RenderingDevice's :ref:`free_rid()` method. +This will be freed automatically when the ``shader`` is freed. + .. rst-class:: classref-item-separator ---- @@ -6672,6 +6682,8 @@ Returns an RID for an existing ``image`` (``VkImage``) with the given ``type``, Creates a shared texture using the specified ``view`` and the texture information from ``with_texture``. +This will be freed automatically when the ``with_texture`` is freed. + .. rst-class:: classref-item-separator ---- @@ -6688,6 +6700,8 @@ For 2D textures (which only have one layer), ``layer`` must be ``0``. \ **Note:** Layer slicing is only supported for 2D texture arrays, not 3D textures or cubemaps. +This will be freed automatically when the ``with_texture`` is freed. + .. rst-class:: classref-item-separator ---- @@ -6895,6 +6909,8 @@ Creates a new uniform set. It can be accessed with the RID that is returned. Once finished with your RID, you will want to free the RID using the RenderingDevice's :ref:`free_rid()` method. +This will be freed automatically when the ``shader`` or any of the RIDs in the ``uniforms`` is freed. + .. rst-class:: classref-item-separator ---- @@ -6919,6 +6935,10 @@ Checks if the ``uniform_set`` is valid, i.e. is owned. Creates a vertex array based on the specified buffers. Optionally, ``offsets`` (in bytes) may be defined for each buffer. +Once finished with your RID, you will want to free the RID using the RenderingDevice's :ref:`free_rid()` method. + +This will be freed automatically when any of the ``src_buffers`` is freed. + .. rst-class:: classref-item-separator ---- diff --git a/classes/class_renderingserver.rst b/classes/class_renderingserver.rst index 00f5ff6c9..cd7eb4d0f 100644 --- a/classes/class_renderingserver.rst +++ b/classes/class_renderingserver.rst @@ -11956,6 +11956,10 @@ This method does nothing. Creates a new texture object based on a texture created directly on the :ref:`RenderingDevice`. If the texture contains layers, ``layer_type`` is used to define the layer type. +Once finished with your RID, you will want to free the RID using the RenderingServer's :ref:`free_rid()` method. + +\ **Note:** The RenderingServer's :ref:`free_rid()` won't free the underlying ``rd_texture``, you will want to free the ``rd_texture`` using :ref:`RenderingDevice.free_rid()`. + .. rst-class:: classref-item-separator ---- diff --git a/classes/class_resourceimportercsvtranslation.rst b/classes/class_resourceimportercsvtranslation.rst index 2fca18032..306c9eeee 100644 --- a/classes/class_resourceimportercsvtranslation.rst +++ b/classes/class_resourceimportercsvtranslation.rst @@ -12,7 +12,7 @@ ResourceImporterCSVTranslation **Inherits:** :ref:`ResourceImporter` **<** :ref:`RefCounted` **<** :ref:`Object` -Imports comma-separated values +Imports comma-separated values as :ref:`Translation`\ s. .. rst-class:: classref-introduction-group @@ -21,6 +21,8 @@ Description Comma-separated values are a plain text table storage format. The format's simplicity makes it easy to edit in any text editor or spreadsheet software. This makes it a common choice for game localization. +In the CSV file used for translation, the first column contains string identifiers, and the first row serves as the header. The first column's header can be any value. The remaining headers indicate the locale for that column. Columns whose headers begin with an underscore (``_``) will be ignored. + \ **Example CSV file:**\ .. code:: text @@ -31,6 +33,26 @@ Comma-separated values are a plain text table storage format. The format's simpl BYE,Goodbye,AdiΓ³s,γ•γ‚ˆγ†γͺら QUOTE,"""Hello"" said the man.","""Hola"" dijo el hombre.",γ€Œγ“γ‚“γ«γ‘γ―γ€η”·γ―θ¨€γ„γΎγ—γŸ +Although keys in the first column typically use uppercase string identifiers, it is not uncommon to directly use strings appearing in the game as keys. To avoid string ambiguity, you can use a special ``?context`` column to specify the context to use with :ref:`Object.tr()`. + +.. code:: text + + en,?context,fr,ja,zh + Letter,Alphabet,Lettre,字母,字母 + Letter,Message,Courrier,手紙,δΏ‘δ»Ά + +To set the plural form of a string to use with :ref:`Object.tr_n()`, add a special ``?plural`` column. After setting the plural form of the source string in this column, you can add additional rows to provide translations for more plural forms. The first column and all special columns in these plural form rows must be empty. + +Godot includes built-in plural rules for some languages. You can also customize them using a special ``?pluralrule`` row. See `GNU gettext `__ for examples and more info. + +.. code:: text + + en,?plural,fr,ru,zh,_Comment + ?pluralrule,,nplurals=2; plural=(n >= 2);,,,Customize the plural rule for French + There is %d apple,There are %d apples,Il y a %d pomme,Π•ΡΡ‚ΡŒ %d яблоко,ι‚£ι‡Œζœ‰%dδΈͺθ‹Ήζžœ, + ,,Il y a %d pommes,Π•ΡΡ‚ΡŒ %d яблока,, + ,,,Π•ΡΡ‚ΡŒ %d яблок,, + .. rst-class:: classref-introduction-group Tutorials @@ -46,11 +68,15 @@ Properties .. table:: :widths: auto - +-------------------------+---------------------------------------------------------------------------+----------+ - | :ref:`bool` | :ref:`compress` | ``true`` | - +-------------------------+---------------------------------------------------------------------------+----------+ - | :ref:`int` | :ref:`delimiter` | ``0`` | - +-------------------------+---------------------------------------------------------------------------+----------+ + +-------------------------+---------------------------------------------------------------------------------------------------+-----------+ + | :ref:`int` | :ref:`compress` | ``1`` | + +-------------------------+---------------------------------------------------------------------------------------------------+-----------+ + | :ref:`int` | :ref:`delimiter` | ``0`` | + +-------------------------+---------------------------------------------------------------------------------------------------+-----------+ + | :ref:`bool` | :ref:`unescape_keys` | ``false`` | + +-------------------------+---------------------------------------------------------------------------------------------------+-----------+ + | :ref:`bool` | :ref:`unescape_translations` | ``true`` | + +-------------------------+---------------------------------------------------------------------------------------------------+-----------+ .. rst-class:: classref-section-separator @@ -65,9 +91,11 @@ Property Descriptions .. rst-class:: classref-property -:ref:`bool` **compress** = ``true`` :ref:`πŸ”—` +:ref:`int` **compress** = ``1`` :ref:`πŸ”—` -If ``true``, creates an :ref:`OptimizedTranslation` instead of a :ref:`Translation`. This makes the resulting file smaller at the cost of a small CPU overhead. +- **Disabled**: Creates a :ref:`Translation`. + +- **Auto**: Creates an :ref:`OptimizedTranslation` when possible. This makes the resulting file smaller at the cost of a small CPU overhead. Falls back to :ref:`Translation` for translations with context or plural forms. .. rst-class:: classref-item-separator @@ -81,6 +109,30 @@ If ``true``, creates an :ref:`OptimizedTranslation` The delimiter to use in the CSV file. The default value matches the common CSV convention. Tab-separated values are sometimes called TSV files. +.. rst-class:: classref-item-separator + +---- + +.. _class_ResourceImporterCSVTranslation_property_unescape_keys: + +.. rst-class:: classref-property + +:ref:`bool` **unescape_keys** = ``false`` :ref:`πŸ”—` + +If ``true``, message keys in the CSV file are unescaped using :ref:`String.c_unescape()` during the import process. + +.. rst-class:: classref-item-separator + +---- + +.. _class_ResourceImporterCSVTranslation_property_unescape_translations: + +.. rst-class:: classref-property + +:ref:`bool` **unescape_translations** = ``true`` :ref:`πŸ”—` + +If ``true``, message translations in the CSV file are unescaped using :ref:`String.c_unescape()` during the import process. + .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` diff --git a/classes/class_resourceimporterimagefont.rst b/classes/class_resourceimporterimagefont.rst index 0328c56fb..6ef60d3ae 100644 --- a/classes/class_resourceimporterimagefont.rst +++ b/classes/class_resourceimporterimagefont.rst @@ -101,9 +101,9 @@ Margin applied around every imported glyph. If your font image contains guides ( :ref:`PackedStringArray` **character_ranges** = ``PackedStringArray()`` :ref:`πŸ”—` -The character ranges to import from the font image. This is an array that maps each position on the image (in tile coordinates, not pixels). The font atlas is traversed from left to right and top to bottom. Characters can be specified with decimal numbers (127), hexadecimal numbers (``0x007f``, or ``U+007f``) or between single quotes (``'~'``). Ranges can be specified with a hyphen between characters. +The character ranges to import from the font image. This is an array that maps each position on the image (in tile coordinates, not pixels). The font atlas is traversed from left to right and top to bottom. Characters can be specified with decimal numbers (126), hexadecimal numbers (``0x007e`` or ``U+007e``), or between single quotes (``'~'``). Ranges can be specified with a hyphen between characters. -For example, ``0-127`` represents the full ASCII range. It can also be written as ``0x0000-0x007f`` (or ``U+0000-U+007f``). As another example, ``' '-'~'`` is equivalent to ``32-127`` and represents the range of printable (visible) ASCII characters. +For example, ``0-127`` represents the full ASCII range. It can also be written as ``0x0000-0x007f`` (or ``U+0000-U+007f``). As another example, ``' '-'~'`` is equivalent to ``32-126`` and represents the range of printable (visible) ASCII characters. For any range, the character advance and offset can be customized by appending three space-separated integer values (additional advance, x offset, y offset) to the end. For example ``'a'-'b' 4 5 2`` sets the advance to ``char_width + 4`` and offset to ``Vector2(5, 2)`` for both `a` and `b` characters. diff --git a/classes/class_textmesh.rst b/classes/class_textmesh.rst index 6f54737fc..2b02facb6 100644 --- a/classes/class_textmesh.rst +++ b/classes/class_textmesh.rst @@ -115,7 +115,9 @@ If set to something other than :ref:`TextServer.AUTOWRAP_OFF`\ ) - :ref:`float` **get_curve_step**\ (\ ) -Step (in pixels) used to approximate BΓ©zier curves. +Step (in pixels) used to approximate BΓ©zier curves. Lower values result in smoother curves, but is slower to generate and render. Consider adjusting this according to the font size and the typical viewing distance. + +\ **Note:** Changing this property will regenerate the mesh, which is a slow operation, especially with large font sizes and long texts. .. rst-class:: classref-item-separator @@ -166,7 +168,9 @@ Font configuration used to display text. - |void| **set_font_size**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_font_size**\ (\ ) -Font size of the **TextMesh**'s text. +Font size of the **TextMesh**'s text. This property works in tandem with :ref:`pixel_size`. Higher values will result in a more detailed font, regardless of :ref:`curve_step` and :ref:`pixel_size`. Consider keeping this value below 63 (inclusive) for good performance, and adjust :ref:`pixel_size` as needed to enlarge text. + +\ **Note:** Changing this property will regenerate the mesh, which is a slow operation, especially with large font sizes and long texts. To change the text's size in real-time efficiently, change the node's :ref:`Node3D.scale` instead. .. rst-class:: classref-item-separator @@ -253,6 +257,8 @@ Additional vertical spacing between lines (in pixels), spacing is added to line The text drawing offset (in pixels). +\ **Note:** Changing this property will regenerate the mesh, which is a slow operation. To change the text's position in real-time efficiently, change the node's :ref:`Node3D.position` instead. + .. rst-class:: classref-item-separator ---- @@ -268,7 +274,9 @@ The text drawing offset (in pixels). - |void| **set_pixel_size**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_pixel_size**\ (\ ) -The size of one pixel's width on the text to scale it in 3D. +The size of one pixel's width on the text to scale it in 3D. This property works in tandem with :ref:`font_size`. + +\ **Note:** Changing this property will regenerate the mesh, which is a slow operation, especially with large font sizes and long texts. To change the text's size in real-time efficiently, change the node's :ref:`Node3D.scale` instead. .. rst-class:: classref-item-separator diff --git a/classes/class_vector2.rst b/classes/class_vector2.rst index 041503ac6..d4826164a 100644 --- a/classes/class_vector2.rst +++ b/classes/class_vector2.rst @@ -429,9 +429,9 @@ Returns this vector's angle with respect to the positive X axis, or ``(1, 0)`` v For example, ``Vector2.RIGHT.angle()`` will return zero, ``Vector2.DOWN.angle()`` will return ``PI / 2`` (a quarter turn, or 90 degrees), and ``Vector2(1, -1).angle()`` will return ``-PI / 4`` (a negative eighth turn, or -45 degrees). -\ `Illustration of the returned angle. `__\ +This is equivalent to calling :ref:`@GlobalScope.atan2()` with :ref:`y` and :ref:`x`. -Equivalent to the result of :ref:`@GlobalScope.atan2()` when called with the vector's :ref:`y` and :ref:`x` as parameters: ``atan2(y, x)``. +\ `Illustration of the returned angle. `__ .. rst-class:: classref-item-separator @@ -443,7 +443,7 @@ Equivalent to the result of :ref:`@GlobalScope.atan2()` **angle_to**\ (\ to\: :ref:`Vector2`\ ) |const| :ref:`πŸ”—` -Returns the signed angle to the given vector, in radians. +Returns the signed angle to the given vector, in radians. The result ranges from ``-PI`` to ``PI`` (inclusive). \ `Illustration of the returned angle. `__ @@ -457,9 +457,9 @@ Returns the signed angle to the given vector, in radians. :ref:`float` **angle_to_point**\ (\ to\: :ref:`Vector2`\ ) |const| :ref:`πŸ”—` -Returns the angle between the line connecting the two points and the X axis, in radians. +Returns the signed angle between the X axis and the line from this vector to point ``to``, in radians. The result ranges from ``-PI`` to ``PI`` (inclusive). -\ ``a.angle_to_point(b)`` is equivalent of doing ``(b - a).angle()``. +\ ``a.angle_to_point(b)`` is equivalent to ``(b - a).angle()``. See also :ref:`angle()`. \ `Illustration of the returned angle. `__ @@ -473,7 +473,7 @@ Returns the angle between the line connecting the two points and the X axis, in :ref:`float` **aspect**\ (\ ) |const| :ref:`πŸ”—` -Returns the aspect ratio of this vector, the ratio of :ref:`x` to :ref:`y`. +Returns this vector's aspect ratio, which is :ref:`x` divided by :ref:`y`. .. rst-class:: classref-item-separator @@ -601,7 +601,9 @@ It can perform smoother interpolation than :ref:`cubic_interpolate()` **direction_to**\ (\ to\: :ref:`Vector2`\ ) |const| :ref:`πŸ”—` -Returns the normalized vector pointing from this vector to ``to``. This is equivalent to using ``(b - a).normalized()``. +Returns the normalized vector pointing from this vector to ``to``. + +\ ``a.direction_to(b)`` is equivalent to ``(b - a).normalized()``. See also :ref:`normalized()`. .. rst-class:: classref-item-separator diff --git a/classes/class_viewport.rst b/classes/class_viewport.rst index 2cbd54d36..9fa95a7e1 100644 --- a/classes/class_viewport.rst +++ b/classes/class_viewport.rst @@ -85,6 +85,8 @@ Properties +-----------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`gui_disable_input` | ``false`` | +-----------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------+ + | :ref:`int` | :ref:`gui_drag_threshold` | ``10`` | + +-----------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`gui_embed_subwindows` | ``false`` | +-----------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`gui_snap_controls_to_pixels` | ``true`` | @@ -1435,6 +1437,23 @@ If ``true``, the viewport will not receive input events. ---- +.. _class_Viewport_property_gui_drag_threshold: + +.. rst-class:: classref-property + +:ref:`int` **gui_drag_threshold** = ``10`` :ref:`πŸ”—` + +.. rst-class:: classref-property-setget + +- |void| **set_drag_threshold**\ (\ value\: :ref:`int`\ ) +- :ref:`int` **get_drag_threshold**\ (\ ) + +The minimum distance the mouse cursor must move while pressed before a drag operation begins. + +.. rst-class:: classref-item-separator + +---- + .. _class_Viewport_property_gui_embed_subwindows: .. rst-class:: classref-property diff --git a/classes/index.rst b/classes/index.rst index 7ffd1db8e..1f6f5348c 100644 --- a/classes/index.rst +++ b/classes/index.rst @@ -851,7 +851,9 @@ Other objects class_navigationpathqueryresult2d class_navigationpathqueryresult3d class_navigationserver2d + class_navigationserver2dmanager class_navigationserver3d + class_navigationserver3dmanager class_node class_node3dgizmo class_offlinemultiplayerpeer