class_audiostreamoggvorbis.rst 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/4.0/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.0/modules/vorbis/doc_classes/AudioStreamOggVorbis.xml.
  6. .. _class_AudioStreamOggVorbis:
  7. AudioStreamOggVorbis
  8. ====================
  9. **Inherits:** :ref:`AudioStream<class_AudioStream>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. .. container:: contribute
  11. There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  12. .. rst-class:: classref-reftable-group
  13. Properties
  14. ----------
  15. .. table::
  16. :widths: auto
  17. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  18. | :ref:`int<class_int>` | :ref:`bar_beats<class_AudioStreamOggVorbis_property_bar_beats>` | ``4`` |
  19. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  20. | :ref:`int<class_int>` | :ref:`beat_count<class_AudioStreamOggVorbis_property_beat_count>` | ``0`` |
  21. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  22. | :ref:`float<class_float>` | :ref:`bpm<class_AudioStreamOggVorbis_property_bpm>` | ``0.0`` |
  23. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  24. | :ref:`bool<class_bool>` | :ref:`loop<class_AudioStreamOggVorbis_property_loop>` | ``false`` |
  25. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  26. | :ref:`float<class_float>` | :ref:`loop_offset<class_AudioStreamOggVorbis_property_loop_offset>` | ``0.0`` |
  27. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  28. | :ref:`OggPacketSequence<class_OggPacketSequence>` | :ref:`packet_sequence<class_AudioStreamOggVorbis_property_packet_sequence>` | |
  29. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  30. .. rst-class:: classref-section-separator
  31. ----
  32. .. rst-class:: classref-descriptions-group
  33. Property Descriptions
  34. ---------------------
  35. .. _class_AudioStreamOggVorbis_property_bar_beats:
  36. .. rst-class:: classref-property
  37. :ref:`int<class_int>` **bar_beats** = ``4``
  38. .. rst-class:: classref-property-setget
  39. - void **set_bar_beats** **(** :ref:`int<class_int>` value **)**
  40. - :ref:`int<class_int>` **get_bar_beats** **(** **)**
  41. .. container:: contribute
  42. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  43. .. rst-class:: classref-item-separator
  44. ----
  45. .. _class_AudioStreamOggVorbis_property_beat_count:
  46. .. rst-class:: classref-property
  47. :ref:`int<class_int>` **beat_count** = ``0``
  48. .. rst-class:: classref-property-setget
  49. - void **set_beat_count** **(** :ref:`int<class_int>` value **)**
  50. - :ref:`int<class_int>` **get_beat_count** **(** **)**
  51. .. container:: contribute
  52. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  53. .. rst-class:: classref-item-separator
  54. ----
  55. .. _class_AudioStreamOggVorbis_property_bpm:
  56. .. rst-class:: classref-property
  57. :ref:`float<class_float>` **bpm** = ``0.0``
  58. .. rst-class:: classref-property-setget
  59. - void **set_bpm** **(** :ref:`float<class_float>` value **)**
  60. - :ref:`float<class_float>` **get_bpm** **(** **)**
  61. .. container:: contribute
  62. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  63. .. rst-class:: classref-item-separator
  64. ----
  65. .. _class_AudioStreamOggVorbis_property_loop:
  66. .. rst-class:: classref-property
  67. :ref:`bool<class_bool>` **loop** = ``false``
  68. .. rst-class:: classref-property-setget
  69. - void **set_loop** **(** :ref:`bool<class_bool>` value **)**
  70. - :ref:`bool<class_bool>` **has_loop** **(** **)**
  71. If ``true``, the stream will automatically loop when it reaches the end.
  72. .. rst-class:: classref-item-separator
  73. ----
  74. .. _class_AudioStreamOggVorbis_property_loop_offset:
  75. .. rst-class:: classref-property
  76. :ref:`float<class_float>` **loop_offset** = ``0.0``
  77. .. rst-class:: classref-property-setget
  78. - void **set_loop_offset** **(** :ref:`float<class_float>` value **)**
  79. - :ref:`float<class_float>` **get_loop_offset** **(** **)**
  80. Time in seconds at which the stream starts after being looped.
  81. .. rst-class:: classref-item-separator
  82. ----
  83. .. _class_AudioStreamOggVorbis_property_packet_sequence:
  84. .. rst-class:: classref-property
  85. :ref:`OggPacketSequence<class_OggPacketSequence>` **packet_sequence**
  86. .. rst-class:: classref-property-setget
  87. - void **set_packet_sequence** **(** :ref:`OggPacketSequence<class_OggPacketSequence>` value **)**
  88. - :ref:`OggPacketSequence<class_OggPacketSequence>` **get_packet_sequence** **(** **)**
  89. Contains the raw Ogg data for this stream.
  90. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  91. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  92. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  93. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  94. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  95. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`