Enum
VoiceChatDistanceAttenuationType
Enum used for preset distance attenuation curve options in the default voice chat setup.
Each value in this enum represents a distance attenuation curve that can be
used by VoiceChatService when creating the default voice chat setup
using AudioDeviceInput and AudioEmitter objects.
Items 2#
| Name | Value | Summary |
|---|---|---|
Inverse | 0 | Represents a distance attenuation curve that follows the inverse-squared
law. This is identical to the default distance attenuation of an
AudioEmitter instance. |
Legacy | 1 | Represents a linear-squared distance attenuation curve with a minimum
distance of 7 and a maximum distance of 80. This is identical to the
distance attenuation used in the internal-only default voice setup that
does not use AudioDeviceInput and AudioEmitter objects. |