2021-05-13 22:34:34 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-12 17:30:34 +02:00
<class name= "ResourceImporterOggVorbis" inherits= "ResourceImporter" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../../../doc/class.xsd" >
2021-05-13 22:34:34 +02:00
<brief_description >
</brief_description>
<description >
</description>
<tutorials >
</tutorials>
2022-11-11 20:42:56 +01:00
<methods >
<method name= "load_from_buffer" qualifiers= "static" >
<return type= "AudioStreamOggVorbis" />
<param index= "0" name= "buffer" type= "PackedByteArray" />
<description >
This method loads audio data from a PackedByteArray buffer into an AudioStreamOggVorbis object.
</description>
</method>
<method name= "load_from_file" qualifiers= "static" >
<return type= "AudioStreamOggVorbis" />
<param index= "0" name= "path" type= "String" />
<description >
This method loads audio data from a file into an AudioStreamOggVorbis object. The file path is provided as a string.
</description>
</method>
</methods>
2021-05-13 22:34:34 +02:00
<members >
<member name= "bar_beats" type= "int" setter= "" getter= "" default= "4" >
</member>
<member name= "beat_count" type= "int" setter= "" getter= "" default= "0" >
</member>
<member name= "bpm" type= "float" setter= "" getter= "" default= "0" >
</member>
<member name= "loop" type= "bool" setter= "" getter= "" default= "false" >
If [code]true[/code], the audio will play again from the specified [member loop_offset] once it is done playing. Useful for ambient sounds and background music.
</member>
<member name= "loop_offset" type= "float" setter= "" getter= "" default= "0" >
</member>
</members>
</class>