.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/GradientTexture2D.xml. .. _class_GradientTexture2D: GradientTexture2D ================= **Inherits:** :ref:`Texture2D` **<** :ref:`Texture` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`Fill` | :ref:`fill` | ``0`` | +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`fill_from` | ``Vector2(0, 0)`` | +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`fill_to` | ``Vector2(1, 0)`` | +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`Gradient` | :ref:`gradient` | | +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`height` | ``64`` | +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`Repeat` | :ref:`repeat` | ``0`` | +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`bool` | resource_local_to_scene | ``false`` (overrides :ref:`Resource`) | +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`use_hdr` | ``false`` | +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`width` | ``64`` | +----------------------------------------------+--------------------------------------------------------------+----------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_GradientTexture2D_Fill: .. rst-class:: classref-enumeration enum **Fill**: .. _class_GradientTexture2D_constant_FILL_LINEAR: .. rst-class:: classref-enumeration-constant :ref:`Fill` **FILL_LINEAR** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_GradientTexture2D_constant_FILL_RADIAL: .. rst-class:: classref-enumeration-constant :ref:`Fill` **FILL_RADIAL** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_GradientTexture2D_constant_FILL_SQUARE: .. rst-class:: classref-enumeration-constant :ref:`Fill` **FILL_SQUARE** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _enum_GradientTexture2D_Repeat: .. rst-class:: classref-enumeration enum **Repeat**: .. _class_GradientTexture2D_constant_REPEAT_NONE: .. rst-class:: classref-enumeration-constant :ref:`Repeat` **REPEAT_NONE** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_GradientTexture2D_constant_REPEAT: .. rst-class:: classref-enumeration-constant :ref:`Repeat` **REPEAT** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_GradientTexture2D_constant_REPEAT_MIRROR: .. rst-class:: classref-enumeration-constant :ref:`Repeat` **REPEAT_MIRROR** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_GradientTexture2D_property_fill: .. rst-class:: classref-property :ref:`Fill` **fill** = ``0`` .. rst-class:: classref-property-setget - void **set_fill** **(** :ref:`Fill` value **)** - :ref:`Fill` **get_fill** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GradientTexture2D_property_fill_from: .. rst-class:: classref-property :ref:`Vector2` **fill_from** = ``Vector2(0, 0)`` .. rst-class:: classref-property-setget - void **set_fill_from** **(** :ref:`Vector2` value **)** - :ref:`Vector2` **get_fill_from** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GradientTexture2D_property_fill_to: .. rst-class:: classref-property :ref:`Vector2` **fill_to** = ``Vector2(1, 0)`` .. rst-class:: classref-property-setget - void **set_fill_to** **(** :ref:`Vector2` value **)** - :ref:`Vector2` **get_fill_to** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GradientTexture2D_property_gradient: .. rst-class:: classref-property :ref:`Gradient` **gradient** .. rst-class:: classref-property-setget - void **set_gradient** **(** :ref:`Gradient` value **)** - :ref:`Gradient` **get_gradient** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GradientTexture2D_property_height: .. rst-class:: classref-property :ref:`int` **height** = ``64`` .. rst-class:: classref-property-setget - void **set_height** **(** :ref:`int` value **)** - :ref:`int` **get_height** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GradientTexture2D_property_repeat: .. rst-class:: classref-property :ref:`Repeat` **repeat** = ``0`` .. rst-class:: classref-property-setget - void **set_repeat** **(** :ref:`Repeat` value **)** - :ref:`Repeat` **get_repeat** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GradientTexture2D_property_use_hdr: .. rst-class:: classref-property :ref:`bool` **use_hdr** = ``false`` .. rst-class:: classref-property-setget - void **set_use_hdr** **(** :ref:`bool` value **)** - :ref:`bool` **is_using_hdr** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GradientTexture2D_property_width: .. rst-class:: classref-property :ref:`int` **width** = ``64`` .. rst-class:: classref-property-setget - void **set_width** **(** :ref:`int` value **)** - :ref:`int` **get_width** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`