classref: Sync with current master branch (cb7cd81)

This commit is contained in:
Godot Organization
2025-10-11 03:22:24 +00:00
parent c7cfd7f3a9
commit 9afaf48fc7
119 changed files with 6335 additions and 543 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ Gradient's colors as a :ref:`PackedColorArray<class_PackedColorArray>`.
- |void| **set_interpolation_color_space**\ (\ value\: :ref:`ColorSpace<enum_Gradient_ColorSpace>`\ )
- :ref:`ColorSpace<enum_Gradient_ColorSpace>` **get_interpolation_color_space**\ (\ )
The color space used to interpolate between points of the gradient. It does not affect the returned colors, which will always be in sRGB space.
The color space used to interpolate between points of the gradient. It does not affect the returned colors, which will always use nonlinear sRGB encoding.
\ **Note:** This setting has no effect when :ref:`interpolation_mode<class_Gradient_property_interpolation_mode>` is set to :ref:`GRADIENT_INTERPOLATE_CONSTANT<class_Gradient_constant_GRADIENT_INTERPOLATE_CONSTANT>`.