Reference API Roblox

Engine API

Website

Related

Reference API Roblox

VoiceChatDistanceAttenuationType

Enum used for preset distance attenuation curve options in the default voice chat setup.

Items 2

HistoryNameValueDescription
667Inverse0

Represents a distance attenuation curve that follows the inverse-squared law. This is identical to the default distance attenuation of an AudioEmitter instance.

667Legacy1

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.

Description

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.

History 3

Settings