API reference
API reference
Select your platform
No SDKs available
No versions available

FOvrNetSyncVoipAttenuationValue Struct

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

FOvrNetSyncVoipAttenuationValue ()
This is the default constructor for the struct, which initializes the ::ovrNetSyncVoipAttenuationValueHandle and TOvrMessageHandlePtr to their default values.
Signature
FOvrNetSyncVoipAttenuationValue::FOvrNetSyncVoipAttenuationValue()
FOvrNetSyncVoipAttenuationValue ( OvrHandle , MessageHandlePtr )
Copying values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
FOvrNetSyncVoipAttenuationValue::FOvrNetSyncVoipAttenuationValue(ovrNetSyncVoipAttenuationValueHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrNetSyncVoipAttenuationValueHandle
MessageHandlePtr: TOvrMessageHandlePtr

Fields

Decibels : float
fall-off value in decibel
Signature
float FOvrNetSyncVoipAttenuationValue::Decibels
Distance : float
The starting distance of the attenuation value. As the distance between players increases, the audio volumn is reduced.
Signature
float FOvrNetSyncVoipAttenuationValue::Distance

Member Functions

Clear ()
Setting all values to their defaults, effectively clearing the struct.
Signature
void FOvrNetSyncVoipAttenuationValue::Clear()
Returns
void
Update ( OvrHandle , MessageHandlePtr )
Updating values from an OVR handle to the array, and the originating message to prevent the handle from being freed.
Signature
void FOvrNetSyncVoipAttenuationValue::Update(ovrNetSyncVoipAttenuationValueHandle OvrHandle, TOvrMessageHandlePtr MessageHandlePtr)
Parameters
OvrHandle: ovrNetSyncVoipAttenuationValueHandle
MessageHandlePtr: TOvrMessageHandlePtr
Returns
void