Initial commit. Implement music sync features.
This commit is contained in:
10
resource_type/music.gd
Normal file
10
resource_type/music.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user