class_sprite3d.rst 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_Sprite3D:
  4. Sprite3D
  5. ========
  6. **Inherits:** :ref:`SpriteBase3D<class_spritebase3d>` **<** :ref:`GeometryInstance<class_geometryinstance>` **<** :ref:`VisualInstance<class_visualinstance>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  13. | :ref:`int<class_int>` | :ref:`get_frame<class_Sprite3D_get_frame>` **(** **)** const |
  14. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  15. | :ref:`int<class_int>` | :ref:`get_hframes<class_Sprite3D_get_hframes>` **(** **)** const |
  16. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  17. | :ref:`Rect2<class_rect2>` | :ref:`get_region_rect<class_Sprite3D_get_region_rect>` **(** **)** const |
  18. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  19. | :ref:`Texture<class_texture>` | :ref:`get_texture<class_Sprite3D_get_texture>` **(** **)** const |
  20. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  21. | :ref:`int<class_int>` | :ref:`get_vframes<class_Sprite3D_get_vframes>` **(** **)** const |
  22. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  23. | :ref:`bool<class_bool>` | :ref:`is_region<class_Sprite3D_is_region>` **(** **)** const |
  24. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_frame<class_Sprite3D_set_frame>` **(** :ref:`int<class_int>` frame **)** |
  26. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  27. | void | :ref:`set_hframes<class_Sprite3D_set_hframes>` **(** :ref:`int<class_int>` hframes **)** |
  28. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  29. | void | :ref:`set_region<class_Sprite3D_set_region>` **(** :ref:`bool<class_bool>` enabled **)** |
  30. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  31. | void | :ref:`set_region_rect<class_Sprite3D_set_region_rect>` **(** :ref:`Rect2<class_rect2>` rect **)** |
  32. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  33. | void | :ref:`set_texture<class_Sprite3D_set_texture>` **(** :ref:`Texture<class_texture>` texture **)** |
  34. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  35. | void | :ref:`set_vframes<class_Sprite3D_set_vframes>` **(** :ref:`int<class_int>` vframes **)** |
  36. +--------------------------------+-----------------------------------------------------------------------------------------------------+
  37. Signals
  38. -------
  39. - **frame_changed** **(** **)**
  40. Member Function Description
  41. ---------------------------
  42. .. _class_Sprite3D_get_frame:
  43. - :ref:`int<class_int>` **get_frame** **(** **)** const
  44. .. _class_Sprite3D_get_hframes:
  45. - :ref:`int<class_int>` **get_hframes** **(** **)** const
  46. .. _class_Sprite3D_get_region_rect:
  47. - :ref:`Rect2<class_rect2>` **get_region_rect** **(** **)** const
  48. .. _class_Sprite3D_get_texture:
  49. - :ref:`Texture<class_texture>` **get_texture** **(** **)** const
  50. .. _class_Sprite3D_get_vframes:
  51. - :ref:`int<class_int>` **get_vframes** **(** **)** const
  52. .. _class_Sprite3D_is_region:
  53. - :ref:`bool<class_bool>` **is_region** **(** **)** const
  54. .. _class_Sprite3D_set_frame:
  55. - void **set_frame** **(** :ref:`int<class_int>` frame **)**
  56. .. _class_Sprite3D_set_hframes:
  57. - void **set_hframes** **(** :ref:`int<class_int>` hframes **)**
  58. .. _class_Sprite3D_set_region:
  59. - void **set_region** **(** :ref:`bool<class_bool>` enabled **)**
  60. .. _class_Sprite3D_set_region_rect:
  61. - void **set_region_rect** **(** :ref:`Rect2<class_rect2>` rect **)**
  62. .. _class_Sprite3D_set_texture:
  63. - void **set_texture** **(** :ref:`Texture<class_texture>` texture **)**
  64. .. _class_Sprite3D_set_vframes:
  65. - void **set_vframes** **(** :ref:`int<class_int>` vframes **)**