W3cubDocs

/Godot 3.2

AudioStreamOGGVorbis

Inherits: AudioStream < Resource < Reference < Object

OGG Vorbis audio stream driver.

Description

OGG Vorbis audio stream driver.

Properties

PoolByteArray data PoolByteArray(  )
bool loop false
float loop_offset 0.0

Property Descriptions

PoolByteArray data

Default PoolByteArray(  )
Setter set_data(value)
Getter get_data()

Contains the audio data in bytes.

bool loop

Default false
Setter set_loop(value)
Getter has_loop()

If true, the stream will automatically loop when it reaches the end.

float loop_offset

Default 0.0
Setter set_loop_offset(value)
Getter get_loop_offset()

Time in seconds at which the stream starts after being looped.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_audiostreamoggvorbis.html