mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-08 10:10:54 +03:00
51 lines
2.0 KiB
ReStructuredText
51 lines
2.0 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
|
|
|
.. _class_GradientTexture:
|
|
|
|
GradientTexture
|
|
===============
|
|
|
|
**Inherits:** :ref:`Texture<class_texture>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
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
|
|
----------------
|
|
|
|
- :ref:`Gradient<class_gradient>` **gradient**
|
|
- :ref:`int<class_int>` **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 **)**
|
|
|
|
|