diff --git a/classes/class_camera3d.rst b/classes/class_camera3d.rst index 3d4834ee0f7..dff858d2604 100644 --- a/classes/class_camera3d.rst +++ b/classes/class_camera3d.rst @@ -79,6 +79,8 @@ Methods +---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_current` **(** :ref:`bool` enable_next=true **)** | +---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | :ref:`Projection` | :ref:`get_camera_projection` **(** **)** |const| | + +---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`RID` | :ref:`get_camera_rid` **(** **)** |const| | +---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Transform3D` | :ref:`get_camera_transform` **(** **)** |const| | @@ -497,6 +499,18 @@ If this is the current camera, remove it from being current. If ``enable_next`` ---- +.. _class_Camera3D_method_get_camera_projection: + +.. rst-class:: classref-method + +:ref:`Projection` **get_camera_projection** **(** **)** |const| + +Returns the projection matrix that this camera uses to render to its associated viewport. The camera must be part of the scene tree to function. + +.. rst-class:: classref-item-separator + +---- + .. _class_Camera3D_method_get_camera_rid: .. rst-class:: classref-method diff --git a/classes/class_gradient.rst b/classes/class_gradient.rst index 4e53cc06ead..13ce4017a48 100644 --- a/classes/class_gradient.rst +++ b/classes/class_gradient.rst @@ -164,6 +164,8 @@ Property Descriptions Gradient's colors returned as a :ref:`PackedColorArray`. +\ **Note:** This property returns a copy, modifying the return value does not update the gradient. To update the gradient use :ref:`set_color` method (for updating colors individually) or assign to this property directly (for bulk-updating all colors at once). + .. rst-class:: classref-item-separator ---- @@ -217,6 +219,8 @@ The algorithm used to interpolate between points of the gradient. See :ref:`Inte Gradient's offsets returned as a :ref:`PackedFloat32Array`. +\ **Note:** This property returns a copy, modifying the return value does not update the gradient. To update the gradient use :ref:`set_offset` method (for updating offsets individually) or assign to this property directly (for bulk-updating all offsets at once). + .. rst-class:: classref-section-separator ---- diff --git a/classes/class_os.rst b/classes/class_os.rst index 00e1b832c83..c12a9335bae 100644 --- a/classes/class_os.rst +++ b/classes/class_os.rst @@ -1463,7 +1463,7 @@ If ``file_or_dir_path`` is a valid directory path, and ``open_folder`` is ``true Use :ref:`ProjectSettings.globalize_path` to convert a ``res://`` or ``user://`` path into a system path for use with this method. -\ **Note:** Currently this method is only implemented on Windows. On other platforms, it will fallback to :ref:`shell_open` with a directory path for ``file_or_dir_path``. +\ **Note:** Currently this method is only implemented on Windows and macOS. On other platforms, it will fallback to :ref:`shell_open` with a directory path of ``file_or_dir_path`` with prefix ``file://``. .. rst-class:: classref-item-separator diff --git a/classes/class_string.rst b/classes/class_string.rst index bcdd862e31a..e75935c0ac3 100644 --- a/classes/class_string.rst +++ b/classes/class_string.rst @@ -1780,11 +1780,11 @@ Converts the string representing a decimal number into a :ref:`float` **validate_node_name** **(** **)** |const| -Returns a copy of the string with all characters that are not allowed in :ref:`Node.name` removed (``.`` ``:`` ``@`` ``/`` ``"`` ``%``). +Returns a copy of the string with all characters that are not allowed in :ref:`Node.name` (``.`` ``:`` ``@`` ``/`` ``"`` ``%``) replaced with underscores. .. rst-class:: classref-item-separator diff --git a/classes/class_stringname.rst b/classes/class_stringname.rst index bbc09ef6a4d..27d0d4bfc97 100644 --- a/classes/class_stringname.rst +++ b/classes/class_stringname.rst @@ -1860,7 +1860,7 @@ Returns a copy of the string with all characters that are not allowed in :ref:`i :ref:`String` **validate_node_name** **(** **)** |const| -Returns a copy of the string with all characters that are not allowed in :ref:`Node.name` removed (``.`` ``:`` ``@`` ``/`` ``"`` ``%``). +Returns a copy of the string with all characters that are not allowed in :ref:`Node.name` (``.`` ``:`` ``@`` ``/`` ``"`` ``%``) replaced with underscores. .. rst-class:: classref-item-separator