.. 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/AnimatedTexture.xml. .. _class_AnimatedTexture: AnimatedTexture =============== **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:`int` | :ref:`current_frame` | | +---------------------------+--------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`frames` | ``1`` | +---------------------------+--------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`one_shot` | ``false`` | +---------------------------+--------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`pause` | ``false`` | +---------------------------+--------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`bool` | resource_local_to_scene | ``false`` (overrides :ref:`Resource`) | +---------------------------+--------------------------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`speed_scale` | ``1.0`` | +---------------------------+--------------------------------------------------------------------+----------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_frame_duration` **(** :ref:`int` frame **)** |const| | +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Texture2D` | :ref:`get_frame_texture` **(** :ref:`int` frame **)** |const| | +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_frame_duration` **(** :ref:`int` frame, :ref:`float` duration **)** | +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_frame_texture` **(** :ref:`int` frame, :ref:`Texture2D` texture **)** | +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Constants --------- .. _class_AnimatedTexture_constant_MAX_FRAMES: .. rst-class:: classref-constant **MAX_FRAMES** = ``256`` .. container:: contribute There is currently no description for this constant. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_AnimatedTexture_property_current_frame: .. rst-class:: classref-property :ref:`int` **current_frame** .. rst-class:: classref-property-setget - void **set_current_frame** **(** :ref:`int` value **)** - :ref:`int` **get_current_frame** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AnimatedTexture_property_frames: .. rst-class:: classref-property :ref:`int` **frames** = ``1`` .. rst-class:: classref-property-setget - void **set_frames** **(** :ref:`int` value **)** - :ref:`int` **get_frames** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AnimatedTexture_property_one_shot: .. rst-class:: classref-property :ref:`bool` **one_shot** = ``false`` .. rst-class:: classref-property-setget - void **set_one_shot** **(** :ref:`bool` value **)** - :ref:`bool` **get_one_shot** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AnimatedTexture_property_pause: .. rst-class:: classref-property :ref:`bool` **pause** = ``false`` .. rst-class:: classref-property-setget - void **set_pause** **(** :ref:`bool` value **)** - :ref:`bool` **get_pause** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AnimatedTexture_property_speed_scale: .. rst-class:: classref-property :ref:`float` **speed_scale** = ``1.0`` .. rst-class:: classref-property-setget - void **set_speed_scale** **(** :ref:`float` value **)** - :ref:`float` **get_speed_scale** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_AnimatedTexture_method_get_frame_duration: .. rst-class:: classref-method :ref:`float` **get_frame_duration** **(** :ref:`int` frame **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AnimatedTexture_method_get_frame_texture: .. rst-class:: classref-method :ref:`Texture2D` **get_frame_texture** **(** :ref:`int` frame **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AnimatedTexture_method_set_frame_duration: .. rst-class:: classref-method void **set_frame_duration** **(** :ref:`int` frame, :ref:`float` duration **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AnimatedTexture_method_set_frame_texture: .. rst-class:: classref-method void **set_frame_texture** **(** :ref:`int` frame, :ref:`Texture2D` texture **)** .. 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.)`