class_audiostreamoggvorbis.rst 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. OGG Vorbis audio stream driver.
  10. Description
  11. -----------
  12. OGG Vorbis audio stream driver.
  13. Properties
  14. ----------
  15. +-------------------------------------------+---------------------------------------------------------------------+-----------------------+
  16. | :ref:`PoolByteArray<class_PoolByteArray>` | :ref:`data<class_AudioStreamOGGVorbis_property_data>` | ``PoolByteArray( )`` |
  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. Property Descriptions
  23. ---------------------
  24. .. _class_AudioStreamOGGVorbis_property_data:
  25. - :ref:`PoolByteArray<class_PoolByteArray>` **data**
  26. +-----------+-----------------------+
  27. | *Default* | ``PoolByteArray( )`` |
  28. +-----------+-----------------------+
  29. | *Setter* | set_data(value) |
  30. +-----------+-----------------------+
  31. | *Getter* | get_data() |
  32. +-----------+-----------------------+
  33. Contains the audio data in bytes.
  34. ----
  35. .. _class_AudioStreamOGGVorbis_property_loop:
  36. - :ref:`bool<class_bool>` **loop**
  37. +-----------+-----------------+
  38. | *Default* | ``false`` |
  39. +-----------+-----------------+
  40. | *Setter* | set_loop(value) |
  41. +-----------+-----------------+
  42. | *Getter* | has_loop() |
  43. +-----------+-----------------+
  44. If ``true``, the stream will automatically loop when it reaches the end.
  45. ----
  46. .. _class_AudioStreamOGGVorbis_property_loop_offset:
  47. - :ref:`float<class_float>` **loop_offset**
  48. +-----------+------------------------+
  49. | *Default* | ``0.0`` |
  50. +-----------+------------------------+
  51. | *Setter* | set_loop_offset(value) |
  52. +-----------+------------------------+
  53. | *Getter* | get_loop_offset() |
  54. +-----------+------------------------+
  55. Time in seconds at which the stream starts after being looped.
  56. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  57. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  58. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`