.. 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` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +----------------------------------+----------------------------------------------------------------------------------------------------------------+ | :ref:`Gradient` | :ref:`get_gradient` **(** **)** const | +----------------------------------+----------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_gradient` **(** :ref:`Gradient` gradient **)** | +----------------------------------+----------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_width` **(** :ref:`int` width **)** | +----------------------------------+----------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`Gradient` **gradient** - :ref:`int` **width** Member Function Description --------------------------- .. _class_GradientTexture_get_gradient: - :ref:`Gradient` **get_gradient** **(** **)** const .. _class_GradientTexture_set_gradient: - void **set_gradient** **(** :ref:`Gradient` gradient **)** .. _class_GradientTexture_set_width: - void **set_width** **(** :ref:`int` width **)**