.. 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/ImageTexture.xml. .. _class_ImageTexture: ImageTexture ============ **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:`bool` | resource_local_to_scene | ``false`` (overrides :ref:`Resource`) | +-------------------------+-------------------------+----------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | :ref:`ImageTexture` | :ref:`create_from_image` **(** :ref:`Image` image **)** |static| | +-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | :ref:`Format` | :ref:`get_format` **(** **)** |const| | +-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_image` **(** :ref:`Image` image **)** | +-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_size_override` **(** :ref:`Vector2i` size **)** | +-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`update` **(** :ref:`Image` image **)** | +-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_ImageTexture_method_create_from_image: .. rst-class:: classref-method :ref:`ImageTexture` **create_from_image** **(** :ref:`Image` image **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImageTexture_method_get_format: .. rst-class:: classref-method :ref:`Format` **get_format** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImageTexture_method_set_image: .. rst-class:: classref-method void **set_image** **(** :ref:`Image` image **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImageTexture_method_set_size_override: .. rst-class:: classref-method void **set_size_override** **(** :ref:`Vector2i` size **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImageTexture_method_update: .. rst-class:: classref-method void **update** **(** :ref:`Image` image **)** .. container:: contribute There is currently no description for this method. 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.)`