AudioStream.xml 771 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="AudioStream" inherits="Resource" category="Core" version="3.1.2">
  3. <brief_description>
  4. Base class for audio streams.
  5. </brief_description>
  6. <description>
  7. Base class for audio streams. Audio streams are used for sound effects and music playback, and support WAV (via [AudioStreamSample]) and OGG (via [AudioStreamOGGVorbis]) file formats.
  8. </description>
  9. <tutorials>
  10. <link>https://docs.godotengine.org/en/3.1/tutorials/audio/audio_streams.html</link>
  11. </tutorials>
  12. <methods>
  13. <method name="get_length" qualifiers="const">
  14. <return type="float">
  15. </return>
  16. <description>
  17. Returns the length of the audio stream in seconds.
  18. </description>
  19. </method>
  20. </methods>
  21. <constants>
  22. </constants>
  23. </class>