13 lines
320 B
GDScript
13 lines
320 B
GDScript
## Class that packs an [AudioStream] with additional information
|
|
## to sync beats to it.
|
|
class_name Music extends Resource
|
|
|
|
## Music AudioStream.
|
|
@export var stream: AudioStream = null
|
|
|
|
## Music offset in seconds.
|
|
@export var offset: float = 0.0
|
|
|
|
## BPM data to sync to the music.
|
|
@export var tempo: Tempo = Tempo.new()
|