Files

13 lines
320 B
GDScript3
Raw Permalink Normal View History

2026-01-25 03:26:34 +08:00
## 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()