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.

Constructors

NetSyncVoipAttenuationValue ( ptr )
Signature
com.meta.horizon.platform.ovr.models.NetSyncVoipAttenuationValue.NetSyncVoipAttenuationValue(final long ptr)
Parameters
ptr: final long

Methods

getDecibels ()
fall-off value in decibel
Signature
float com.meta.horizon.platform.ovr.models.NetSyncVoipAttenuationValue.getDecibels()
Returns
float  float
getDistance ()
The starting distance of the attenuation value. As the distance between players increases, the audio volumn is reduced.
Signature
float com.meta.horizon.platform.ovr.models.NetSyncVoipAttenuationValue.getDistance()
Returns
float  float