API reference

NetSyncVoipAttenuationValue Class

The value is used in the VoIP system. The value determines how much the audio volume is reduced as the distance between players increases. This helps to create a more immersive experience by making distant players' voices sound fainter.

Member Functions

NetSyncVoipAttenuationValue
( final long ptr )
float getDecibels ( )
fall-off value in decibel
Returns
float
float getDistance ( )
The starting distance of the attenuation value. As the distance between players increases, the audio volumn is reduced.
Returns
float