Values
InverseDistance
Linear dampening of loudness according to distance.
InverseSquareDistance
Squared dampening of loudness according to distance.
Logarithmic
Logarithmic dampening of loudness according to distance.
Disabled
No dampening of loudness according to distance. The sound will still be heard positionally, unlike an godot.AudioStreamPlayer
. godot.AudioStreamPlayer3D_AttenuationModelEnum.disabled
can be combined with a godot.AudioStreamPlayer3D.maxDistance
value greater than 0.0
to achieve linear attenuation clamped to a sphere of a defined size.