Enum AudioStreamPlayer3D.AttenuationModelEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum AudioStreamPlayer3D.AttenuationModelEnum : long
Fields
Disabled = 3
No attenuation of loudness according to distance. The sound will still be heard positionally, unlike an AudioStreamPlayer. Disabled can be combined with a MaxDistance value greater than
0.0
to achieve linear attenuation clamped to a sphere of a defined size.InverseDistance = 0
Attenuation of loudness according to linear distance.
InverseSquareDistance = 1
Attenuation of loudness according to squared distance.
Logarithmic = 2
Attenuation of loudness according to logarithmic distance.