.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the AnimatedTexture.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_AnimatedTexture: AnimatedTexture =============== **Inherits:** :ref:`Texture` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Properties ---------- +---------------------------+------------------------------------------------------+ | :ref:`float` | :ref:`fps` | +---------------------------+------------------------------------------------------+ | :ref:`int` | :ref:`frames` | +---------------------------+------------------------------------------------------+ Methods ------- +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_frame_delay` **(** :ref:`int` frame **)** const | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Texture` | :ref:`get_frame_texture` **(** :ref:`int` frame **)** const | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_frame_delay` **(** :ref:`int` frame, :ref:`float` delay **)** | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_frame_texture` **(** :ref:`int` frame, :ref:`Texture` texture **)** | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ Property Descriptions --------------------- .. _class_AnimatedTexture_property_fps: - :ref:`float` **fps** +----------+----------------+ | *Setter* | set_fps(value) | +----------+----------------+ | *Getter* | get_fps() | +----------+----------------+ .. _class_AnimatedTexture_property_frames: - :ref:`int` **frames** +----------+-------------------+ | *Setter* | set_frames(value) | +----------+-------------------+ | *Getter* | get_frames() | +----------+-------------------+ Method Descriptions ------------------- .. _class_AnimatedTexture_method_get_frame_delay: - :ref:`float` **get_frame_delay** **(** :ref:`int` frame **)** const .. _class_AnimatedTexture_method_get_frame_texture: - :ref:`Texture` **get_frame_texture** **(** :ref:`int` frame **)** const .. _class_AnimatedTexture_method_set_frame_delay: - void **set_frame_delay** **(** :ref:`int` frame, :ref:`float` delay **)** .. _class_AnimatedTexture_method_set_frame_texture: - void **set_frame_texture** **(** :ref:`int` frame, :ref:`Texture` texture **)**