Initial commit
This commit is contained in:
commit
7becdd23b6
989 changed files with 28526 additions and 0 deletions
21
addons/resonate/sound_manager/sound_event_resource.gd
Normal file
21
addons/resonate/sound_manager/sound_event_resource.gd
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
class_name SoundEventResource
|
||||
extends Resource
|
||||
## The container used to store the details of a sound event.
|
||||
|
||||
|
||||
## This sound event's unique identifier.
|
||||
@export var name: String = ""
|
||||
|
||||
## The bus to use for all sound events in this bank.[br][br]
|
||||
## [b]Note:[/b] this will override the bus set in this events sound bank,
|
||||
## or your project settings (Audio/Manager/Sound/Bank)
|
||||
@export var bus: String = ""
|
||||
|
||||
## The volume of the sound event.
|
||||
@export_range(-80.0, 6.0, 0.1, "suffix:dB") var volume: float = 0.0
|
||||
|
||||
## The pitch of the sound event.
|
||||
@export var pitch: float = 1.0
|
||||
|
||||
## The collection of audio streams (variations) associated with this sound event.
|
||||
@export var streams: Array[AudioStream]
|
||||
Loading…
Add table
Add a link
Reference in a new issue