class_animatedtexture.rst 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the AnimatedTexture.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_AnimatedTexture:
  5. AnimatedTexture
  6. ===============
  7. **Inherits:** :ref:`Texture<class_Texture>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Properties
  12. ----------
  13. +---------------------------+---------------------------------------------+
  14. | :ref:`float<class_float>` | :ref:`fps<class_AnimatedTexture_fps>` |
  15. +---------------------------+---------------------------------------------+
  16. | :ref:`int<class_int>` | :ref:`frames<class_AnimatedTexture_frames>` |
  17. +---------------------------+---------------------------------------------+
  18. Methods
  19. -------
  20. +--------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`float<class_float>` | :ref:`get_frame_delay<class_AnimatedTexture_get_frame_delay>` **(** :ref:`int<class_int>` frame **)** const |
  22. +--------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`Texture<class_Texture>` | :ref:`get_frame_texture<class_AnimatedTexture_get_frame_texture>` **(** :ref:`int<class_int>` frame **)** const |
  24. +--------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_frame_delay<class_AnimatedTexture_set_frame_delay>` **(** :ref:`int<class_int>` frame, :ref:`float<class_float>` delay **)** |
  26. +--------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
  27. | void | :ref:`set_frame_texture<class_AnimatedTexture_set_frame_texture>` **(** :ref:`int<class_int>` frame, :ref:`Texture<class_Texture>` texture **)** |
  28. +--------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
  29. Property Descriptions
  30. ---------------------
  31. .. _class_AnimatedTexture_fps:
  32. - :ref:`float<class_float>` **fps**
  33. +----------+----------------+
  34. | *Setter* | set_fps(value) |
  35. +----------+----------------+
  36. | *Getter* | get_fps() |
  37. +----------+----------------+
  38. .. _class_AnimatedTexture_frames:
  39. - :ref:`int<class_int>` **frames**
  40. +----------+-------------------+
  41. | *Setter* | set_frames(value) |
  42. +----------+-------------------+
  43. | *Getter* | get_frames() |
  44. +----------+-------------------+
  45. Method Descriptions
  46. -------------------
  47. .. _class_AnimatedTexture_get_frame_delay:
  48. - :ref:`float<class_float>` **get_frame_delay** **(** :ref:`int<class_int>` frame **)** const
  49. .. _class_AnimatedTexture_get_frame_texture:
  50. - :ref:`Texture<class_Texture>` **get_frame_texture** **(** :ref:`int<class_int>` frame **)** const
  51. .. _class_AnimatedTexture_set_frame_delay:
  52. - void **set_frame_delay** **(** :ref:`int<class_int>` frame, :ref:`float<class_float>` delay **)**
  53. .. _class_AnimatedTexture_set_frame_texture:
  54. - void **set_frame_texture** **(** :ref:`int<class_int>` frame, :ref:`Texture<class_Texture>` texture **)**