mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source
This commit is contained in:
@@ -16,17 +16,6 @@ Brief Description
|
||||
|
||||
Gradient filled texture.
|
||||
|
||||
Member Functions
|
||||
----------------
|
||||
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Gradient<class_gradient>` | :ref:`get_gradient<class_GradientTexture_get_gradient>` **(** **)** const |
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_gradient<class_GradientTexture_set_gradient>` **(** :ref:`Gradient<class_gradient>` gradient **)** |
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_width<class_GradientTexture_set_width>` **(** :ref:`int<class_int>` width **)** |
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Member Variables
|
||||
----------------
|
||||
|
||||
@@ -44,19 +33,3 @@ Description
|
||||
|
||||
Uses a :ref:`Gradient<class_gradient>` to fill the texture data, the gradient will be filled from left to right using colors obtained from the gradient, this means that the texture does not necessarily represent an exact copy of the gradient, but instead an interpolation of samples obtained from the gradient at fixed steps (see :ref:`set_width<class_GradientTexture_set_width>`).
|
||||
|
||||
Member Function Description
|
||||
---------------------------
|
||||
|
||||
.. _class_GradientTexture_get_gradient:
|
||||
|
||||
- :ref:`Gradient<class_gradient>` **get_gradient** **(** **)** const
|
||||
|
||||
.. _class_GradientTexture_set_gradient:
|
||||
|
||||
- void **set_gradient** **(** :ref:`Gradient<class_gradient>` gradient **)**
|
||||
|
||||
.. _class_GradientTexture_set_width:
|
||||
|
||||
- void **set_width** **(** :ref:`int<class_int>` width **)**
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user