mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
classref: Sync with current master branch (cb7cd81)
This commit is contained in:
@@ -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>`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user