class_audiostreamoggvorbis.rst 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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:`bool<class_bool>` | :ref:`loop<class_AudioStreamOGGVorbis_property_loop>` | ``false`` |
  13. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  14. | :ref:`float<class_float>` | :ref:`loop_offset<class_AudioStreamOGGVorbis_property_loop_offset>` | ``0.0`` |
  15. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  16. | :ref:`OGGPacketSequence<class_OGGPacketSequence>` | :ref:`packet_sequence<class_AudioStreamOGGVorbis_property_packet_sequence>` | |
  17. +---------------------------------------------------+-----------------------------------------------------------------------------+-----------+
  18. Property Descriptions
  19. ---------------------
  20. .. _class_AudioStreamOGGVorbis_property_loop:
  21. - :ref:`bool<class_bool>` **loop**
  22. +-----------+-----------------+
  23. | *Default* | ``false`` |
  24. +-----------+-----------------+
  25. | *Setter* | set_loop(value) |
  26. +-----------+-----------------+
  27. | *Getter* | has_loop() |
  28. +-----------+-----------------+
  29. If ``true``, the stream will automatically loop when it reaches the end.
  30. ----
  31. .. _class_AudioStreamOGGVorbis_property_loop_offset:
  32. - :ref:`float<class_float>` **loop_offset**
  33. +-----------+------------------------+
  34. | *Default* | ``0.0`` |
  35. +-----------+------------------------+
  36. | *Setter* | set_loop_offset(value) |
  37. +-----------+------------------------+
  38. | *Getter* | get_loop_offset() |
  39. +-----------+------------------------+
  40. Time in seconds at which the stream starts after being looped.
  41. ----
  42. .. _class_AudioStreamOGGVorbis_property_packet_sequence:
  43. - :ref:`OGGPacketSequence<class_OGGPacketSequence>` **packet_sequence**
  44. +----------+----------------------------+
  45. | *Setter* | set_packet_sequence(value) |
  46. +----------+----------------------------+
  47. | *Getter* | get_packet_sequence() |
  48. +----------+----------------------------+
  49. Contains the raw OGG data for this stream.
  50. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  51. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  52. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  53. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  54. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  55. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`