HammeriteAudioSoundEvent
Audio. Inherits RefCounted
One sound, as heard by one listener.
Carries what a reacting agent needs to decide what to do: what it was, how loud it arrived, how far off it sounded - and, most usefully, WHERE IT SEEMED TO COME FROM.
The sound's type, as the emitter stamped it.
Properties
| Type | Name | Default |
|---|---|---|
Vector3 | apparent_position | |
float | attenuation_db | |
float | cutoff_hz | |
float | distance | |
Node | emitter | |
bool | is_direct | |
float | level_db | |
Vector3 | source_position | |
StringName | type |
Property descriptions
apparent_position
var apparent_position: Vector3
Undocumented.
attenuation_db
var attenuation_db: float
Undocumented.
cutoff_hz
var cutoff_hz: float
Undocumented.
distance
var distance: float
Undocumented.
emitter
var emitter: Node
Undocumented.
is_direct
var is_direct: bool
Undocumented.
level_db
var level_db: float
Undocumented.
source_position
var source_position: Vector3
Undocumented.
type
var type: StringName
Undocumented.