class_audiostreamoggvorbis.rst 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the AudioStreamOGGVorbis.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_AudioStreamOGGVorbis:
  6. AudioStreamOGGVorbis
  7. ====================
  8. **Inherits:** :ref:`AudioStream<class_AudioStream>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  12. | :ref:`int<class_int>` | :ref:`bar_beats<class_AudioStreamOGGVorbis_property_bar_beats>` | ``4`` |
  13. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  14. | :ref:`int<class_int>` | :ref:`beat_count<class_AudioStreamOGGVorbis_property_beat_count>` | ``0`` |
  15. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  16. | :ref:`float<class_float>` | :ref:`bpm<class_AudioStreamOGGVorbis_property_bpm>` | ``0.0`` |
  17. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  18. | :ref:`bool<class_bool>` | :ref:`loop<class_AudioStreamOGGVorbis_property_loop>` | ``false`` |
  19. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  20. | :ref:`float<class_float>` | :ref:`loop_offset<class_AudioStreamOGGVorbis_property_loop_offset>` | ``0.0`` |
  21. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  22. | :ref:`OGGPacketSequence<class_OGGPacketSequence>` | :ref:`packet_sequence<class_AudioStreamOGGVorbis_property_packet_sequence>` | |
  23. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  24. Property Descriptions
  25. ---------------------
  26. .. _class_AudioStreamOGGVorbis_property_bar_beats:
  27. - :ref:`int<class_int>` **bar_beats**
  28. +-----------+----------------------+
  29. | *Default* | ``4`` |
  30. +-----------+----------------------+
  31. | *Setter* | set_bar_beats(value) |
  32. +-----------+----------------------+
  33. | *Getter* | get_bar_beats() |
  34. +-----------+----------------------+
  35. ----
  36. .. _class_AudioStreamOGGVorbis_property_beat_count:
  37. - :ref:`int<class_int>` **beat_count**
  38. +-----------+-----------------------+
  39. | *Default* | ``0`` |
  40. +-----------+-----------------------+
  41. | *Setter* | set_beat_count(value) |
  42. +-----------+-----------------------+
  43. | *Getter* | get_beat_count() |
  44. +-----------+-----------------------+
  45. ----
  46. .. _class_AudioStreamOGGVorbis_property_bpm:
  47. - :ref:`float<class_float>` **bpm**
  48. +-----------+----------------+
  49. | *Default* | ``0.0`` |
  50. +-----------+----------------+
  51. | *Setter* | set_bpm(value) |
  52. +-----------+----------------+
  53. | *Getter* | get_bpm() |
  54. +-----------+----------------+
  55. ----
  56. .. _class_AudioStreamOGGVorbis_property_loop:
  57. - :ref:`bool<class_bool>` **loop**
  58. +-----------+-----------------+
  59. | *Default* | ``false`` |
  60. +-----------+-----------------+
  61. | *Setter* | set_loop(value) |
  62. +-----------+-----------------+
  63. | *Getter* | has_loop() |
  64. +-----------+-----------------+
  65. If ``true``, the stream will automatically loop when it reaches the end.
  66. ----
  67. .. _class_AudioStreamOGGVorbis_property_loop_offset:
  68. - :ref:`float<class_float>` **loop_offset**
  69. +-----------+------------------------+
  70. | *Default* | ``0.0`` |
  71. +-----------+------------------------+
  72. | *Setter* | set_loop_offset(value) |
  73. +-----------+------------------------+
  74. | *Getter* | get_loop_offset() |
  75. +-----------+------------------------+
  76. Time in seconds at which the stream starts after being looped.
  77. ----
  78. .. _class_AudioStreamOGGVorbis_property_packet_sequence:
  79. - :ref:`OGGPacketSequence<class_OGGPacketSequence>` **packet_sequence**
  80. +----------+----------------------------+
  81. | *Setter* | set_packet_sequence(value) |
  82. +----------+----------------------------+
  83. | *Getter* | get_packet_sequence() |
  84. +----------+----------------------------+
  85. Contains the raw OGG data for this stream.
  86. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  87. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  88. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  89. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  90. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  91. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`